auto
This commit is contained in:
@@ -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() {
|
||||
|
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user