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