From 0c567123dc97c61c21c3ec5195144f8176d56439 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 14 Oct 2020 15:19:59 -0300 Subject: [PATCH] Added new alias for simpler rsync --- .gitignore | 2 ++ bash/aliases.bash | 4 ++-- bash/scotty.bash | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 711316f..ad46a1e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ vim/.netrwhist nvim/.netrwhist vim/view +nvim/spell/* +tags emacs.d/.last-package-update-day emacs.d/elpa/ diff --git a/bash/aliases.bash b/bash/aliases.bash index a3f05ba..dfde6cf 100644 --- a/bash/aliases.bash +++ b/bash/aliases.bash @@ -8,7 +8,7 @@ then alias cat="bat" fi -if hash nvim 2> /dev/null; +if hash rsync 2> /dev/null; then - alias vim="nvim" + alias rscp="rsync -rclh --progress" fi diff --git a/bash/scotty.bash b/bash/scotty.bash index a333ba1..84a2287 100644 --- a/bash/scotty.bash +++ b/bash/scotty.bash @@ -2,5 +2,5 @@ if hash scotty 2> /dev/null; then - source <(scotty init bash) + eval "$(scotty init bash)" fi