From 5ff984d81ae504cf4be81a7f2c2bd445386b4467 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 6 Oct 2022 20:04:39 +0200 Subject: Add lf alias to .bashrc This is a workaround to cd into the directory where lf was terminated. --- .bashrc | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3-70-g09d2