aliases and cleanup
This commit is contained in:
parent
d99638ed40
commit
1f5b5d026b
|
@ -27,7 +27,9 @@ alias sudo="sudo "
|
|||
alias S='sudo $(history -n -1)'
|
||||
|
||||
alias rm="rm -I"
|
||||
alias v="xdg-open"
|
||||
function v() {
|
||||
xdg-open "$@" &|
|
||||
}
|
||||
|
||||
alias vmemcache="vmtouch -l -m 12G -v"
|
||||
|
||||
|
@ -115,6 +117,12 @@ pumount() {
|
|||
fi
|
||||
}
|
||||
|
||||
dl-source() {
|
||||
for file in "$@"; do
|
||||
getfattr --only-values -n user.xdg.origin.url "$file" 2>/dev/null && echo || echo "$file: no download source info" >&2
|
||||
done
|
||||
}
|
||||
|
||||
#}}}
|
||||
|
||||
#################################################################################
|
||||
|
|
1
confs
1
confs
|
@ -1,4 +1,5 @@
|
|||
awesome $XDG_CONFIG_HOME/awesome
|
||||
alacritty $XDG_CONFIG_HOME/alacritty/alacritty.yml
|
||||
compose $HOME/.XCompose.long
|
||||
db $XDG_CONFIG_HOME/dmsearch/data/db_targets
|
||||
khal $XDG_CONFIG_HOME/khal/config
|
||||
|
|
|
@ -10,6 +10,7 @@ zplug 'crater2150-zsh/chroma-z', as:theme
|
|||
zplug $ZDOTDIR/plugins/highlight-config, from:local, defer:3
|
||||
zplug $ZDOTDIR/plugins/bundled-compdefs, from:local
|
||||
zplug $ZDOTDIR/plugins/tmpsrc, from:local
|
||||
zplug $ZDOTDIR/plugins/pyenv, from:local
|
||||
|
||||
zplug 'molovo/revolver', \
|
||||
as:command, \
|
||||
|
@ -25,9 +26,6 @@ zplug "plugins/ng", from:oh-my-zsh
|
|||
|
||||
zplug "zpm-zsh/colors"
|
||||
|
||||
zplug "clvv/fasd", as:command, use:fasd
|
||||
zplug "plugins/fasd", from:oh-my-zsh, if:"(( $+commands[fasd] ))", on:"clvv/fasd"
|
||||
|
||||
zplug "xuhdev/k", at:gnu-ls-color
|
||||
zplug "urbainvaes/fzf-marks"
|
||||
|
||||
|
|
7
zshrc
7
zshrc
|
@ -61,5 +61,12 @@ if exists stack; then
|
|||
eval "$(stack --bash-completion-script stack)"
|
||||
fi
|
||||
|
||||
if exists pyenv; then
|
||||
eval "$(pyenv init -)"
|
||||
if pyenv commands | grep -q 'virtualenv'; then
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
fi
|
||||
fi
|
||||
|
||||
exists todo && todo
|
||||
exists thefuck && eval $(thefuck --alias)
|
||||
|
|
Loading…
Reference in a new issue