party parrot terminal config for 'oh-my-zsh'
Added a party
function in the zshcfg to allow for turning the parrots on or off.
# turn off party parrots
> party -n
# turn on party parrots
> party -y
# or
> party
- iterm2
- oh-my-zsh
- powerlevel9k
- imgcat
for party img display | Iterm2 > Install Shell Integration
- zsh-syntax-highlighting need to clone into plugins folder
- apixu - for weather signup is FREE
modify the linelocal weather=$(curl -s "http://api.apixu.com/v1/current.json?key=<your-api-key>&q=<zip-code>")
in .zshrc - jq
brew install jq
- gshuf
brew install coreutils
- airport
# create symlink (below)
sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
You may need to adjust the .zshrc file if not using the following
-
MODIFY .ZSHRC
prompt_zsh_party(){ local fname=$(ls '/Users/PUF1501/temp/termicon/parrots' | gshuf -n 1) local img=$(imgcat '/Users/PUF1501/temp/termicon/parrots/'$fname) echo -n $img'\n' }
with the '/path/to/parrots/folder'
-
# First, add the diff-so-fancy script to your PATH - (see /scripts/) # Then => execute: git config --global alias.dsf '!f() { [ -z "$GIT_PREFIX" ] || cd "$GIT_PREFIX" '\ '&& git diff --color "$@" | diff-so-fancy | less --tabs=4 -RFX; }; f' # Or check out the Repo for more usage instructions
-
colorls (ruby)
brew install ruby
sudo chown -R username:group ~/.gem
gem install colorls
(*nix) if you run into issues creating the makefile try
sudo apt-get install build-essential dh-autoreconf
-
Create key-mapping in
Iterm2 > Preferences > Keys > Key Mappings
for ^[accept in (zsh-autosuggestion)
-
Optional wifi / battery segments (modify .zshrc)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status zsh_weather time custom_internet_signal zsh_battery_level)
- USE FURA CODE NERD FONT
13.5pt
(see /font/) - USE LIGATURES