From 60b84a6ebf63dc681935dde4c1689e9973990d41 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Thu, 9 Jul 2020 01:04:20 +0200 Subject: bash aliases for cp, newsboat and opening path in ranger. --- files/rcs/.bash_aliases | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/rcs/.bash_aliases b/files/rcs/.bash_aliases index 4c484a4..9dea509 100644 --- a/files/rcs/.bash_aliases +++ b/files/rcs/.bash_aliases @@ -4,14 +4,14 @@ alias v='nvim' alias vim='nvim' alias ping='ping fsf.org' alias cdf='cd "$(fzfPath.sh)"' -alias cdr='ranger "$(fzfPath.sh)"' +alias cdr='route="$(fzfPath.sh)" && [ -n "$route" ] && ranger "$route"' alias mail='mail.sh' alias ls='ls -hN --color=auto --group-directories-first' +alias cp='cp -iv' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' -#alias please="sudo !!" -#alias dict='curl dict://dict.org/d:' +alias nb='newsboat' # config files alias cb="vim ~/.bashrc" -- cgit v1.2.1