diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -70,10 +70,10 @@ if type rg &> /dev/null; then fi # Don't use ~ to define your home here, it won't work. export wir="$HOME/wired" -export lux="$HOME/lux" +export l="$HOME/lux" export n="$HOME/notes" -export doc="$HOME/documents" -export p="$HOME/pictures" +export d="$HOME/documents" +export p="$HOME/photos" CDPATH=.:~/notes:~/sites:~/documents:~/wired:~/pictures @@ -605,6 +605,9 @@ fi #export WINEPREFIX=$HOME/.config/wine/ #export WINEARCH=win32 +preview(){ + pandoc -i $1 | w3m -T text/html +} #PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH" @@ -615,8 +618,8 @@ fd() { cd "$dir" } -# fshow - git commit browser -fshow() { +# gshow - git commit browser +gshow() { git log --graph --color=always \ --format="%C(auto)%h%d %s %C(black)%C(bold)%cr" "$@" | fzf --ansi --no-sort --reverse --tiebreak=index --bind=ctrl-s:toggle-sort \ |