clean and more general shortcuts

This commit is contained in:
Tibeuleu
2024-06-04 23:14:45 +02:00
parent 6f387c2633
commit 76e956d95a
2 changed files with 31 additions and 34 deletions

View File

@@ -38,13 +38,10 @@ alias \
z="zathura"
alias \
magit="nvim -c MagitOnly" \
ref="shortcuts >/dev/null; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ; source ${XDG_CONFIG_HOME:-$HOME/.config}/shell/zshnameddirrc" \
weath="less -S ${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" \
tmux="tmux -f ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf" \
scrcpy="scrcpy --shortcut-mod=lctrl" \
anaconda="source $HOME/.anaconda3/bin/activate" \
homestuck="./.config/unofficial-homestuck-collection-2.0.7/unofficial-homestuck-collection --no-sandbox 2>&1" \
ixpe="cd /home/tibeuleu/IXPE_analysis/Code && clear && ls" \
foc="cd /home/tibeuleu/FOC_reduction/Code && clear && ls" \
config='/usr/bin/git --git-dir=/home/tibeuleu/.cfg/ --work-tree=/home/tibeuleu' \
ixpe="cd $HOME/IXPE_analysis/Code && clear && ls" \
foc="cd $HOME/FOC_reduction/Code && clear && ls" \
config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=/home/tibeuleu" \

View File

@@ -1,30 +1,30 @@
# vim: filetype=sh
alias cac="cd ${XDG_CACHE_HOME:-$HOME/.cache} && ls -a" \
cf="cd ${XDG_CONFIG_HOME:-$HOME/.config} && ls -a" \
cfv="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/" \
cl="cd ${XDG_LOCAL_HOME:-$HOME/.local} && ls -a" \
dt="cd ${XDG_DATA_HOME:-$HOME/.local/share} && ls -a" \
sc="cd ${XDG_LOCAL_HOME:-$HOME/.local}/bin && ls -a" \
src="cd ${XDG_LOCAL_HOME:-$HOME/.local}/src && ls -a" \
h="cd $HOME && ls -a" \
d="cd ${XDG_DOCUMENTS_DIR:-$HOME/Documents} && ls -a" \
D="cd ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} && ls -a" \
m="cd ${XDG_MUSIC_DIR:-$HOME/Music} && ls -a" \
pp="cd ${XDG_PICTURES_DIR:-$HOME/Pictures} && ls -a" \
vv="cd ${XDG_VIDEOS_DIR:-$HOME/Videos} && ls -a" \
mn="cd /mnt && ls -a" \
bf="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-files" \
bd="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs" \
cfi="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/i3/config" \
cfib="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/i3blocks/config" \
cfx="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/x11/Xresources" \
cfa="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" \
cfl="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/lf/lfrc" \
cfL="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/lf/scope" \
cfmb="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/bindings" \
cfmc="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/config" \
cfn="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/config" \
cfp="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile" \
cfu="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls" \
cfX="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/sxiv/exec/key-handler" \
cfz="$EDITOR $ZDOTDIR/.zshrc" \
cf="cd ${XDG_CONFIG_HOME:-$HOME/.config} && ls -a" \
cl="cd ${XDG_LOCAL_HOME:-$HOME/.local} && ls -a" \
dt="cd ${XDG_DATA_HOME:-$HOME/.local/share} && ls -a" \
sc="cd ${XDG_LOCAL_HOME:-$HOME/.local}/bin && ls -a" \
src="cd ${XDG_LOCAL_HOME:-$HOME/.local}/src && ls -a" \
h="cd $HOME && ls -a" \
d="cd ${XDG_DOCUMENTS_DIR:-$HOME/Documents} && ls -a" \
D="cd ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} && ls -a" \
m="cd ${XDG_MUSIC_DIR:-$HOME/Music} && ls -a" \
pp="cd ${XDG_PICTURES_DIR:-$HOME/Pictures} && ls -a" \
vv="cd ${XDG_VIDEOS_DIR:-$HOME/Videos} && ls -a" \
mn="cd /mnt && ls -a" \
bf="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-files" \
bd="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs" \
cfi="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/i3/config" \
cfib="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/i3blocks/config" \
cfx="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/x11/Xresources" \
cfa="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" \
cfl="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/lf/lfrc" \
cfL="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/lf/scope" \
cfmb="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/bindings" \
cfmc="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/ncmpcpp/config" \
cfn="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/config" \
cfp="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile" \
cfu="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls" \
cfX="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/sxiv/exec/key-handler" \
cfv="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/nvim" \
cfz="$EDITOR $ZDOTDIR/.zshrc" \