X-Git-Url: https://git.danieliu.xyz/?p=dotfiles.git;a=blobdiff_plain;f=.config%2Fshell%2Fcommonrc;h=a5298873cafdd6fa343bdc4e03761ee510602885;hp=dbea0382cd3e5e5ffe54b501c07cd4431624cd4c;hb=c3864f21c97f96577b2bfc3b4b1f492840fd850b;hpb=b979bd9a2d268444399af36e12e32264c6e7a45c diff --git a/.config/shell/commonrc b/.config/shell/commonrc index dbea038..a529887 100644 --- a/.config/shell/commonrc +++ b/.config/shell/commonrc @@ -13,6 +13,14 @@ alias refreshusb='udevadm control --reload-rules' alias vpnup='nmcli connection up pinovpn' 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=fzf --info=inline --preview='echo {}; file -b {}; echo =-=-=-=-=-=-=-=-=-=-=-=-=-=; if [ -d '{}' ]; then ls -A {}; else head -$LINES {}; fi'" # fzf options when running from shell +alias gdb="gdb -q" + +mkcd() { + mkdir "$1" && cd "$1" +} alias v="$EDITOR" alias z="$READER"