fish -> zsh

This commit is contained in:
2023-01-20 12:45:43 +09:00
parent cdc9d036ae
commit 5d3e034304
2 changed files with 8 additions and 4 deletions

View File

@ -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

6
.zshrc
View File

@ -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