This commit is contained in:
Andrey Anurin
2018-08-08 12:59:48 +03:00
parent b2a3296869
commit 74d3ad590c
2 changed files with 12 additions and 5 deletions

View File

@@ -140,15 +140,17 @@ rsync2() {
sync-music() {
FUNCTION_PRELUDE
if ! is_local; then
echo "Should be local"
return 1
fi
# if ! is_local; then
# echo "Should be local"
# return 1
# fi
mkdir -p "$HOME/music/library"
rsync2 \
--delete \
"dedi:/home/torrent-user/music-library/" \
"/Users/abra/music/library/"
"$HOME/music/library/"
}
# function .g-init() {

View File

@@ -55,6 +55,8 @@ bindkey "\eOF" end-of-line
# ----------------------------------- END ALIASES --------------------------------------------------
export PATH="$HOME/bin/":$PATH
export PATH="$HOME/work/arcadia/":$PATH
if is_local; then
export PATH="$HOME/brew/sbin":"$HOME/brew/bin":$PATH
@@ -63,3 +65,6 @@ fi
# update, background+disown
update_.g &!
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"