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() { sync-music() {
FUNCTION_PRELUDE FUNCTION_PRELUDE
if ! is_local; then # if ! is_local; then
echo "Should be local" # echo "Should be local"
return 1 # return 1
fi # fi
mkdir -p "$HOME/music/library"
rsync2 \ rsync2 \
--delete \ --delete \
"dedi:/home/torrent-user/music-library/" \ "dedi:/home/torrent-user/music-library/" \
"/Users/abra/music/library/" "$HOME/music/library/"
} }
# function .g-init() { # function .g-init() {

View File

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