diff options
author | xengineering <me@xengineering.eu> | 2022-10-06 20:04:39 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-10-06 20:04:39 +0200 |
commit | 5ff984d81ae504cf4be81a7f2c2bd445386b4467 (patch) | |
tree | 0815fde3ee53ee84869c6de0f6e10739cd32db75 | |
parent | 3bb058b91edb45ceea35d9df284d89d9e7180089 (diff) | |
download | dotfiles-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-- | .bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |