From 74d3ad590ca33499c8bf4220600955f206c03da6 Mon Sep 17 00:00:00 2001 From: Andrey Anurin Date: Wed, 8 Aug 2018 12:59:48 +0300 Subject: [PATCH] auto --- .zprezto/runcoms/zalias | 12 +++++++----- .zprezto/runcoms/zshrc | 5 +++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.zprezto/runcoms/zalias b/.zprezto/runcoms/zalias index 74d506b..7dd5898 100644 --- a/.zprezto/runcoms/zalias +++ b/.zprezto/runcoms/zalias @@ -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() { diff --git a/.zprezto/runcoms/zshrc b/.zprezto/runcoms/zshrc index d1f9991..c6e9e2a 100644 --- a/.zprezto/runcoms/zshrc +++ b/.zprezto/runcoms/zshrc @@ -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" +