This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# only add to path if | |
# 1. the dir exists | |
# 2. path does not contain the dir | |
add_to_path() { | |
if [ -d $1 ] && ! [[ ":$PATH:" == *$1* ]]; then | |
export PATH=$1:$PATH | |
fi | |
} | |
add_to_path /opt/homebrew/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
// Settings in here override those in "Default/Preferences.sublime-settings", | |
// and are overridden in turn by syntax-specific settings. | |
{ | |
"binary_file_patterns": ["*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip", "node_modules/"], | |
"bold_folder_labels": true, | |
"close_windows_when_empty": true, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, | |
"ignored_packages": [ | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################## | |
# Set up env | |
########################################## | |
set -gx EDITOR vim | |
set -gx Z_SCRIPT_PATH /usr/local/etc/profile.d/z.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax enable | |
set list | |
set tabstop=4 | |
set softtabstop=4 | |
set number " show line number | |
set showcmd | |
set cursorline |