summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-10-09 16:00:11 -0500
committerluxagraf <sng@luxagraf.net>2024-10-09 16:00:11 -0500
commitd2e87e2d9f8ee2fd014087dafdc8c7cbd229a088 (patch)
treee7dfff8ec923c7e7b0aa8b1a2776f15fb057cf58 /.bashrc
parenteecedc09e7be82fd80460e268e3746c33a613602 (diff)
switched to alacritty and updated some shell scripts and w3m config
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc13
1 files changed, 8 insertions, 5 deletions
diff --git a/.bashrc b/.bashrc
index a9d47d9..576c9e9 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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 \