various
This commit is contained in:
parent
7c074dc817
commit
ae821b7659
@ -13,6 +13,7 @@
|
||||
|
||||
[alias]
|
||||
lod = log --all --decorate --oneline --graph
|
||||
pushall = !git remote | xargs -L1 git push
|
||||
[color]
|
||||
ui = auto
|
||||
[init]
|
||||
|
15
zshrc
15
zshrc
@ -13,6 +13,7 @@ export SYSTEMD_EDITOR=vim
|
||||
export LESS=-R
|
||||
export PATH=$PATH:~/bin:~/.local/bin
|
||||
|
||||
alias sudo='sudo '
|
||||
alias clear-orphans='sudo pacman -Rns $(pacman -Qqdt)'
|
||||
alias mount-chroot='sudo mount /mnt/tmpfs; sudo mkdir /mnt/tmpfs/chroot'
|
||||
alias open='xdg-open'
|
||||
@ -28,8 +29,7 @@ alias poweroff='sudo poweroff'
|
||||
alias reboot='sudo reboot'
|
||||
alias n='ninja'
|
||||
alias m='make -j$(nproc)'
|
||||
alias cmake='cmake -G Ninja'
|
||||
alias sysupgrade='sudo pacman -Syu; auracle sync'
|
||||
alias sysupgrade='sudo pacman -Syu; auracle outdated'
|
||||
alias v='vim'
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
@ -42,3 +42,14 @@ if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.z
|
||||
then
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
fi
|
||||
|
||||
if command -v direnv > /dev/null
|
||||
then
|
||||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
|
||||
export HISTSIZE=1000000
|
||||
export SAVEHIST=$HISTSIZE
|
||||
|
||||
# do not include other filesystems, otherwise startup takes forever in the bad case
|
||||
zstyle ':grml:chpwd:dirstack' exclude "/mnt(|/*)"
|
||||
|
Loading…
Reference in New Issue
Block a user