.dotfiles/zshrc

45 lines
1.1 KiB
Bash
Raw Normal View History

2021-12-08 12:57:13 +00:00
if [ -f ~/.zsh_local ]
then
2021-12-08 12:57:13 +00:00
source ~/.zsh_local
fi
2021-12-08 12:57:13 +00:00
#for non Arch systems
2016-07-14 11:03:13 +00:00
if [ -f ~/.zsh_grml ]
then
source ~/.zsh_grml
fi
source ~/.zsh_functions
export EDITOR=vim
2016-03-02 16:53:58 +00:00
export SYSTEMD_EDITOR=vim
2021-12-08 12:57:13 +00:00
export LESS=-R
export PATH=$PATH:~/bin:~/.local/bin
2015-06-21 20:27:36 +00:00
2015-12-03 12:41:42 +00:00
alias clear-orphans='sudo pacman -Rns $(pacman -Qqdt)'
2018-11-29 09:42:33 +00:00
alias mount-chroot='sudo mount /mnt/tmpfs; sudo mkdir /mnt/tmpfs/chroot'
2014-12-04 22:33:16 +00:00
alias open='xdg-open'
2014-01-17 13:01:16 +00:00
#overwrite "default(?)" with my own function
alias cdt='cdtemp'
2014-07-17 10:02:58 +00:00
alias gst='git status'
2014-07-27 16:46:17 +00:00
alias gdf='git diff'
alias gdfs='git diff --staged'
2014-07-27 16:49:38 +00:00
alias gad='git add'
alias gcm='git commit'
alias resource='source ~/.zshrc'
2015-06-28 17:28:37 +00:00
alias poweroff='sudo poweroff'
alias reboot='sudo reboot'
2015-11-07 20:18:02 +00:00
alias n='ninja'
2021-12-08 12:33:57 +00:00
alias m='make -j$(nproc)'
2015-11-07 20:18:02 +00:00
alias cmake='cmake -G Ninja'
2021-12-08 12:33:57 +00:00
alias sysupgrade='sudo pacman -Syu; auracle sync'
2021-12-08 12:43:00 +00:00
alias v='vim'
2015-06-21 20:28:43 +00:00
alias ls='ls --color=auto'
2015-06-21 20:33:49 +00:00
2015-06-21 20:35:33 +00:00
if [ -f /usr/share/doc/pkgfile/command-not-found.zsh ]
then
source /usr/share/doc/pkgfile/command-not-found.zsh
fi
2015-06-21 20:33:49 +00:00
2015-06-28 17:27:30 +00:00
if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]
then
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi