Skip to content

RPuffer/party-term

Repository files navigation

forthebadge

forthebadge

forthebadge

PARTY-TERMINAL

party parrot terminal config for 'oh-my-zsh'

parrot parrot parrot parrot parrot parrot parrot parrot

party-term party-term

Update

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

Dependencies

  • 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 line
    local 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

Optional Config

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'
    
  • diff-so-fancy

    # 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)

    key-map

  • Optional wifi / battery segments (modify .zshrc)

    POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status zsh_weather time custom_internet_signal zsh_battery_level)

wifi-battery

FONTS

  • USE FURA CODE NERD FONT 13.5pt (see /font/)
  • USE LIGATURES

Plugins

Color Scheme

iterm colors

VSCode Config - see vscode folder

Natural Text Editing

Goto Iterm2 > Preferences > Profiles > Keys

Select 'Load Preset' and choose 'Natural Text Editing'

iterm natural text edit