summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-10-06 20:04:39 +0200
committerxengineering <me@xengineering.eu>2022-10-06 20:04:39 +0200
commit5ff984d81ae504cf4be81a7f2c2bd445386b4467 (patch)
tree0815fde3ee53ee84869c6de0f6e10739cd32db75
parent3bb058b91edb45ceea35d9df284d89d9e7180089 (diff)
downloaddotfiles-5ff984d81ae504cf4be81a7f2c2bd445386b4467.tar
dotfiles-5ff984d81ae504cf4be81a7f2c2bd445386b4467.tar.zst
dotfiles-5ff984d81ae504cf4be81a7f2c2bd445386b4467.zip
Add lf alias to .bashrc
This is a workaround to cd into the directory where lf was terminated.
-rw-r--r--.bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index ce9400f..a27fc9a 100644
--- a/.bashrc
+++ b/.bashrc
@@ -22,6 +22,7 @@ alias igit='git log --all --oneline --decorate --graph'
alias horizons='telnet horizons.jpl.nasa.gov 6775' # a NASA server providing data about planet positions and velocities
alias wlrecord='wf-recorder -a -g "$(slurp)"'
alias ranger='ranger --choosedir=$HOME/.local/share/ranger/lastdir && cd "$(cat $HOME/.local/share/ranger/lastdir)"'
+alias lf='lf -last-dir-path=$HOME/.local/share/lf/lastdir && cd "$(cat $HOME/.local/share/lf/lastdir)"'
alias music="cd ~/Musik && ranger || echo '~/Musik does not exist'"
alias bt="bluetoothctl"
alias ikhal="ikhal; clear"