Minor changes to some functions
This commit is contained in:
parent
118704ae78
commit
b63655c492
|
@ -28,8 +28,10 @@ alias S='sudo $(history -n -1)'
|
|||
|
||||
alias rm="rm -I"
|
||||
function v() {
|
||||
xdg-open "$@" &|
|
||||
}
|
||||
for file in $@; do
|
||||
xdg-open $file &|
|
||||
done
|
||||
}
|
||||
|
||||
alias vmemcache="vmtouch -l -m 12G -v"
|
||||
|
||||
|
@ -43,8 +45,8 @@ alias de="dict.cc.py en de"
|
|||
|
||||
su() {
|
||||
if [[ -z "$@" ]]; then
|
||||
echo "Switching to sudo -s for enviromental reasons"
|
||||
sudo -s
|
||||
echo "Switching to sudo -i for enviromental reasons"
|
||||
sudo -i
|
||||
else
|
||||
command su "$@"
|
||||
fi
|
||||
|
@ -305,3 +307,7 @@ alias vcat="nvimpager -c"
|
|||
alias icat="kitty +kitten icat"
|
||||
|
||||
# vim: foldmethod=marker
|
||||
|
||||
function lastdl() {
|
||||
echo ~/downloads/*(oc.[1])
|
||||
}
|
||||
|
|
2
env/20_services.zsh
vendored
2
env/20_services.zsh
vendored
|
@ -1,3 +1,3 @@
|
|||
if [[ $DISPLAY ]]; then
|
||||
if [[ $DISPLAY && $UID != 0 ]]; then
|
||||
export SVDIR="$HOME/.local/session_service"
|
||||
fi
|
||||
|
|
|
@ -29,7 +29,6 @@ zplug "plugins/ng", from:oh-my-zsh
|
|||
|
||||
zplug "zpm-zsh/colors"
|
||||
|
||||
zplug "xuhdev/k", at:gnu-ls-color
|
||||
zplug "urbainvaes/fzf-marks"
|
||||
|
||||
zplug "crater2150-zsh/tmsu-fzf", as:plugin
|
||||
|
|
Loading…
Reference in a new issue