config/shell: some alias adjustments
This commit is contained in:
parent
b5f348f5cc
commit
b6fd5446c6
|
@ -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'
|
||||
|
||||
|
|
|
@ -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"; }
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue