mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 18:36:05 -07:00
open nnn at location you closed it
This commit is contained in:
parent
4f6bd457a6
commit
a1b28a0d0b
@ -34,7 +34,13 @@ alias rofi='wayland-rofi'
|
||||
alias cz="cd ~/documents/zet"
|
||||
|
||||
# nnn
|
||||
alias n="nnn -r -e"
|
||||
|
||||
# Open nnn at location you closed it
|
||||
n() {
|
||||
nnn -r -e $(cat ~/.nnn_last)
|
||||
echo "$(pwd)" > ~/.nnn_last
|
||||
}
|
||||
|
||||
alias cp="cpg -g"
|
||||
alias mv="mvg -g"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user