Compare commits
No commits in common. "a9654b9d75eeeb39285d1cb3f9b8c1f263317377" and "9f992fef60ac46645b072d6c7f6fb4224cea9eb9" have entirely different histories.
a9654b9d75
...
9f992fef60
14
aliases.sh
14
aliases.sh
|
@ -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 ll='ls -lh --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
|
||||||
alias ls='ls --color=auto -h'
|
alias ls='ls --color=auto -h'
|
||||||
|
|
||||||
alias bulk-rename='vimv'
|
|
||||||
alias cp='cp -i'
|
alias cp='cp -i'
|
||||||
|
|
||||||
alias df='df -h'
|
alias df='df -h'
|
||||||
|
@ -62,20 +61,9 @@ function npm {
|
||||||
# lf gets confused by TERMINFO env var when running in tmux
|
# lf gets confused by TERMINFO env var when running in tmux
|
||||||
# https://github.com/gokcehan/lf/issues/138#issuecomment-464477665
|
# https://github.com/gokcehan/lf/issues/138#issuecomment-464477665
|
||||||
if [ -n "$TERMINFO" ] ; then
|
if [ -n "$TERMINFO" ] ; then
|
||||||
alias lf="TERMINFO= lf -last-dir-path=$HOME/.cache/lf-last-dir"
|
alias lf="TERMINFO= lf"
|
||||||
else
|
|
||||||
alias lf="lf -last-dir-path=$HOME/.cache/lf-last-dir"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cdlf() {
|
|
||||||
cd "$(cat $HOME/.cache/lf-last-dir)"
|
|
||||||
}
|
|
||||||
|
|
||||||
lfcd() {
|
|
||||||
lf -last-dir-path="$HOME"/.cache/lf-last-dir
|
|
||||||
cdlf
|
|
||||||
}
|
|
||||||
|
|
||||||
# functions
|
# functions
|
||||||
# $1 - output directory
|
# $1 - output directory
|
||||||
# $2 - size
|
# $2 - size
|
||||||
|
|
Loading…
Reference in New Issue