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" z="zathura"
alias \ 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" \ 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" \ weath="less -S ${XDG_DATA_HOME:-$HOME/.local/share}/weatherreport" \
tmux="tmux -f ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf" \ tmux="tmux -f ${XDG_CONFIG_HOME:-$HOME/.config}/tmux/tmux.conf" \
scrcpy="scrcpy --shortcut-mod=lctrl" \ scrcpy="scrcpy --shortcut-mod=lctrl" \
anaconda="source $HOME/.anaconda3/bin/activate" \ ixpe="cd $HOME/IXPE_analysis/Code && clear && ls" \
homestuck="./.config/unofficial-homestuck-collection-2.0.7/unofficial-homestuck-collection --no-sandbox 2>&1" \ foc="cd $HOME/FOC_reduction/Code && clear && ls" \
ixpe="cd /home/tibeuleu/IXPE_analysis/Code && clear && ls" \ config="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=/home/tibeuleu" \
foc="cd /home/tibeuleu/FOC_reduction/Code && clear && ls" \
config='/usr/bin/git --git-dir=/home/tibeuleu/.cfg/ --work-tree=/home/tibeuleu' \

View File

@@ -1,7 +1,6 @@
# vim: filetype=sh # vim: filetype=sh
alias cac="cd ${XDG_CACHE_HOME:-$HOME/.cache} && ls -a" \ alias cac="cd ${XDG_CACHE_HOME:-$HOME/.cache} && ls -a" \
cf="cd ${XDG_CONFIG_HOME:-$HOME/.config} && 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" \ cl="cd ${XDG_LOCAL_HOME:-$HOME/.local} && ls -a" \
dt="cd ${XDG_DATA_HOME:-$HOME/.local/share} && ls -a" \ dt="cd ${XDG_DATA_HOME:-$HOME/.local/share} && ls -a" \
sc="cd ${XDG_LOCAL_HOME:-$HOME/.local}/bin && ls -a" \ sc="cd ${XDG_LOCAL_HOME:-$HOME/.local}/bin && ls -a" \
@@ -27,4 +26,5 @@ cfn="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/config" \
cfp="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile" \ cfp="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/shell/profile" \
cfu="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls" \ cfu="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls" \
cfX="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/sxiv/exec/key-handler" \ cfX="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/sxiv/exec/key-handler" \
cfv="$EDITOR ${XDG_CONFIG_HOME:-$HOME/.config}/nvim" \
cfz="$EDITOR $ZDOTDIR/.zshrc" \ cfz="$EDITOR $ZDOTDIR/.zshrc" \