[split] Move uggedal theme to oh-my-fish/theme-uggedal

https://github.com/oh-my-fish/theme-uggedal
pull/2/head
Justin Hileman 9 years ago
parent c840c5b267
commit 260729f989

@ -1,11 +0,0 @@
## uggedal
Minimal theme.
![uggedal theme](https://f.cloud.github.com/assets/71/485623/c84ea45a-b8f7-11e2-8f7c-35a836aa7dbe.png)
#### Characteristics
* Only displays the `$CWD`.
* Displays hostname if you're connected through `ssh(1)`.
* Right prompt displays the last command's exit code if it was non-zero.

@ -1,8 +0,0 @@
# name: Uggedal
function fish_prompt
if test -n "$SSH_CONNECTION"
printf '%s ' $HOSTNAME
end
printf '%s ' (prompt_pwd)
end

@ -1,9 +0,0 @@
function fish_right_prompt
set -l last_status $status
if test $last_status -ne 0
set_color red
printf '%d' $last_status
set_color normal
end
end
Loading…
Cancel
Save