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:
This file contains 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
#!/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 |