Compare commits

..

No commits in common. "a9654b9d75eeeb39285d1cb3f9b8c1f263317377" and "9f992fef60ac46645b072d6c7f6fb4224cea9eb9" have entirely different histories.

1 changed files with 1 additions and 13 deletions

View File

@ -8,7 +8,6 @@ alias la='ls -lha --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --col
alias ll='ls -lh --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
alias ls='ls --color=auto -h'
alias bulk-rename='vimv'
alias cp='cp -i'
alias df='df -h'
@ -62,20 +61,9 @@ function npm {
# lf gets confused by TERMINFO env var when running in tmux
# https://github.com/gokcehan/lf/issues/138#issuecomment-464477665
if [ -n "$TERMINFO" ] ; then
alias lf="TERMINFO= lf -last-dir-path=$HOME/.cache/lf-last-dir"
else
alias lf="lf -last-dir-path=$HOME/.cache/lf-last-dir"
alias lf="TERMINFO= lf"
fi
cdlf() {
cd "$(cat $HOME/.cache/lf-last-dir)"
}
lfcd() {
lf -last-dir-path="$HOME"/.cache/lf-last-dir
cdlf
}
# functions
# $1 - output directory
# $2 - size