X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.config%2Fshell%2Fcommonrc;h=3d9870a7b7271f7c8131948cec26eff6d64d477b;hp=e9a7df0557abc875542047da8b1ef5182b3c2d3b;hb=7f59e8b721746dbf0741f0083a1a5e74ce973278;hpb=b156356b96d0bd00229a145be24c6825ec309a2c diff --git a/.config/shell/commonrc b/.config/shell/commonrc index e9a7df0..3d9870a 100644 --- a/.config/shell/commonrc +++ b/.config/shell/commonrc @@ -15,7 +15,8 @@ alias drill-srs='drill-srs 2>/dev/null' alias scrkey='screenkey -t 2.5 --mods-mode emacs -s small -p fixed -g $(slop -n -f '%g')' alias mdp='export TERM=st; mdp' alias R='R --vanilla' -alias fzf="fzf --color=16 --header=peee --info=inline --preview='echo {}; file -b {}; echo =-=-=-=-=-=-=-=-=-=-=-=-=-=; head -$LINES {}'" +alias fzf="fzf --color=16 --header=fzf --info=inline --preview='echo {}; file -b {}; echo =-=-=-=-=-=-=-=-=-=-=-=-=-=; if [ -d '{}' ]; then ls -A {}; else head -$LINES {}; fi'" +alias gdb="gdb -q" alias v="$EDITOR" alias z="$READER"