config/shell: some alias adjustments

This commit is contained in:
xerus2000 2021-02-16 13:08:56 +01:00
parent b5f348f5cc
commit b6fd5446c6
3 changed files with 5 additions and 3 deletions

View File

@ -146,6 +146,7 @@ alias mdox="xclip -o -selection clipboard | mdo | xclip -filter"
alias gdiff='git diff --word-diff=color --word-diff-regex=. --no-index'
alias sc='sudo systemctl'
scs() { sudo systemctl status "*$1*" }
alias scu='systemctl --user'
alias scrw='sudo systemctl restart display-manager'

View File

@ -212,4 +212,4 @@ gitcommits() {
# }}}
# Testing
gittestcommit() { touch file$((++i)) && git add . && git commit -m "Create file$i"; }
gittestcommit() { touch file$((++i)) && git add 'file*' && git commit -m "Create file$i"; }

View File

@ -152,7 +152,8 @@ setopt correct
# don't save duplicates in command history
setopt histignoredups
setopt extended_glob
setopt EXTENDED_GLOB
unsetopt CASE_GLOB
setopt pipefail
@ -183,4 +184,4 @@ test -f $XDG_CONFIG_HOME/broot/launcher/bash/br && source $XDG_CONFIG_HOME/broot
which direnv >/dev/null && eval "$(direnv hook zsh)"
return 0
true