summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-05-10 11:34:55 +0200
committerJoe <bousset.rudy@gmail.com>2022-05-10 11:34:55 +0200
commit64e1a2a5e932c4afe137998fcb399c71528d5910 (patch)
treef03810f4e78aa0fe5edbd336062b6129157d7a6e /.config
parentupdate (diff)
downloaddotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.gz
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.bz2
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.xz
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.tar.zst
dotfiles-bsd-64e1a2a5e932c4afe137998fcb399c71528d5910.zip
update
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/alias.zsh17
1 files changed, 9 insertions, 8 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index 2e5e8da..1303163 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -18,7 +18,7 @@ tree() {
}
alias \
e='editorcmd' \
- vim='editorcmd' \
+ vim='nvim' \
c='clear' \
less='less --tabs 4' \
bc='bc -l' \
@@ -127,26 +127,27 @@ pa() {
co() {
if [ "$1" ]; then
if cd "$XDG_CONFIG_HOME"/"$1"; then
- ls
+ :
else
- cd "$XDG_CONFIG_HOME" && ls
+ cd "$XDG_CONFIG_HOME"
fi
else
- cd "$XDG_CONFIG_HOME" && ls
+ cd "$XDG_CONFIG_HOME"
fi
}
da() {
if [ "$1" ]; then
if cd "$XDG_DATA_HOME"/"$1"; then
- ls
+ :
else
- cd "$XDG_DATA_HOME" && ls
+ cd "$XDG_DATA_HOME"
fi
else
- cd "$XDG_DATA_HOME" && ls
+ cd "$XDG_DATA_HOME"
fi
}
-alias bi='cd $HOME/.local/bin && ls'
+alias bi='cd $HOME/.local/bin' \
+ sss='cd $HOME/docs/work/secuserve/scripts'
twi() {
mpview https://twitch.tv/"$1";
}