Trims fat and renames files
This commit is contained in:
parent
6021ad3194
commit
4563550969
40 changed files with 233 additions and 352 deletions
13
launchd_scripts/attempt_vim_switch.sh
Executable file
13
launchd_scripts/attempt_vim_switch.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
if [ -d /Volumes/usb_vim ] && \ # usb has mounted
|
||||
[ ! -L "$HOME/.vimrc" ] && \ # .vimrc is a symlink
|
||||
[ ! -L "$HOME/.vim" ]; then # .vim dir is a symlink
|
||||
. "/Volumes/usb_vim/vim/vim_point_to_usb.sh"
|
||||
. "$HOME/pc_settings/launchd_scripts/notice.sh"
|
||||
else
|
||||
. "$HOME/pc_settings/launchd_scripts/notice_2.sh"
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue