various
This commit is contained in:
parent
7c074dc817
commit
ae821b7659
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
lod = log --all --decorate --oneline --graph
|
lod = log --all --decorate --oneline --graph
|
||||||
|
pushall = !git remote | xargs -L1 git push
|
||||||
[color]
|
[color]
|
||||||
ui = auto
|
ui = auto
|
||||||
[init]
|
[init]
|
||||||
|
15
zshrc
15
zshrc
@ -13,6 +13,7 @@ export SYSTEMD_EDITOR=vim
|
|||||||
export LESS=-R
|
export LESS=-R
|
||||||
export PATH=$PATH:~/bin:~/.local/bin
|
export PATH=$PATH:~/bin:~/.local/bin
|
||||||
|
|
||||||
|
alias sudo='sudo '
|
||||||
alias clear-orphans='sudo pacman -Rns $(pacman -Qqdt)'
|
alias clear-orphans='sudo pacman -Rns $(pacman -Qqdt)'
|
||||||
alias mount-chroot='sudo mount /mnt/tmpfs; sudo mkdir /mnt/tmpfs/chroot'
|
alias mount-chroot='sudo mount /mnt/tmpfs; sudo mkdir /mnt/tmpfs/chroot'
|
||||||
alias open='xdg-open'
|
alias open='xdg-open'
|
||||||
@ -28,8 +29,7 @@ alias poweroff='sudo poweroff'
|
|||||||
alias reboot='sudo reboot'
|
alias reboot='sudo reboot'
|
||||||
alias n='ninja'
|
alias n='ninja'
|
||||||
alias m='make -j$(nproc)'
|
alias m='make -j$(nproc)'
|
||||||
alias cmake='cmake -G Ninja'
|
alias sysupgrade='sudo pacman -Syu; auracle outdated'
|
||||||
alias sysupgrade='sudo pacman -Syu; auracle sync'
|
|
||||||
alias v='vim'
|
alias v='vim'
|
||||||
alias ls='ls --color=auto'
|
alias ls='ls --color=auto'
|
||||||
|
|
||||||
@ -42,3 +42,14 @@ if [ -f /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.z
|
|||||||
then
|
then
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
fi
|
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