Skip to content

Instantly share code, notes, and snippets.

@nonnymoose
nonnymoose / keybase.md
Created March 23, 2019 20:32
keybase.md

Keybase proof

I hereby claim:

  • I am nonnymoose on github.
  • I am nonnymoose (https://keybase.io/nonnymoose) on keybase.
  • I have a public key whose fingerprint is 1439 366B F164 401B 6F31 7D13 0778 5FD8 E207 0B05

To claim this, I am signing this object:

@nonnymoose
nonnymoose / fish_prompt.fish
Created December 28, 2018 18:10
A fish prompt with full directory names that won't overflow your terminal!
#!/usr/bin/fish
function fish_prompt
# Cache exit status
set -l last_status $status
# Just calculate these once, to save a few cycles when displaying the prompt
if not set -q __fish_prompt_hostname
set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
end