From 5d3e034304f4fdaf6a3c4246f62030abad39611e Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Fri, 20 Jan 2023 12:45:43 +0900 Subject: [PATCH] fish -> zsh --- .config/fish/config.fish | 6 ++++-- .zshrc | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 6b1fd93..ce9b789 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -8,6 +8,7 @@ oh-my-posh init fish --config ~/.poshthemes/craver.omp.json | source # emacs alias emupgrade="~/.emacs.d/bin/doom upgrade" +alias emsync="~/.emacs.d/bin/doom sync" alias emd="emacs --daemon" alias emdk="emacsclient --eval '(kill-emacs)'" alias em="emacsclient -c -a 'emacs'" @@ -29,8 +30,9 @@ alias ytv-best="youtube-dl -f bestvideo+bestaudio " #alias gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys" #alias fix-gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys" #alias fix-key="[ -d ~/.gnupg ] || mkdir ~/.gnupg ; cp /etc/pacman.d/gnupg/gpg.conf ~/.gnupg/ ; echo 'done'" +alias startsv="ssh odroid startsv" +alias stopsv="ssh odroid stopsv" +alias gpulls="pushd ~/.config/emacs && git pull && pushd ~/org && git pull && popd && popd" -#!/bin/sh -set hostname $(cat /etc/hostname) figlet -w 100 "$hostname" export PYTHONSTARTUP=/home/jaeus/scripts/my_imports.py diff --git a/.zshrc b/.zshrc index 417bf0e..8fa7ee5 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,5 @@ export ZSH="/home/jaeus/.oh-my-zsh" -ZSH_THEME="random" +ZSH_THEME="agnoster" #plugins=(git) source $ZSH/oh-my-zsh.sh prompt_context(){} @@ -11,12 +11,14 @@ source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh #export DISPLAY=$VETHER_IP:10.0 # emacs -alias emupgrade="~/.emacs.d/bin/doom upgrade" alias emd="emacs --daemon" alias emdk="emacsclient --eval '(kill-emacs)'" alias em="emacsclient -c -a 'emacs'" alias emt="emacsclient -c -a 'emacs -nw'" alias emtangle="emacs --batch -eval \"(require 'org)\" --eval '(org-babel-tangle-file \"~/.config/emacs/emacs.org\")'" +alias startsv="ssh odroid startsv" +alias stopsv="ssh odroid stopsv" +alias gpulls="pushd ~/.config/emacs && git pull && pushd ~/org && git pull && popd && popd" #neovim to vi alias vi=nvim #pacman unlock