Merge pull request #396 from williamhogman/will-theme
Add 'will' theme. (double turnstile ⊨)pull/2/head
commit
c5ac1c8a4f
@ -0,0 +1,9 @@
|
|||||||
|
## Will
|
||||||
|
Minimalist theme.
|
||||||
|
|
||||||
|
![Screenshot](https://cloud.githubusercontent.com/assets/143746/6462675/60d171fe-c1ab-11e4-9434-8718a2139c79.png)
|
||||||
|
|
||||||
|
#### Characteristics
|
||||||
|
* The current working directory is displayed on the right-side
|
||||||
|
* Hostnames are displayed if and only if we're on an SSH connection
|
||||||
|
* Uses logical entailment as the prompt character
|
@ -0,0 +1,10 @@
|
|||||||
|
function fish_prompt
|
||||||
|
if test -n "$SSH_CONNECTION"
|
||||||
|
printf '%s ' $HOSTNAME
|
||||||
|
end
|
||||||
|
|
||||||
|
set_color red
|
||||||
|
printf "⊨"
|
||||||
|
set_color normal
|
||||||
|
printf " "
|
||||||
|
end
|
@ -0,0 +1,5 @@
|
|||||||
|
function fish_right_prompt
|
||||||
|
set_color red
|
||||||
|
printf '%s ' (prompt_pwd)
|
||||||
|
set_color normal
|
||||||
|
end
|
Loading…
Reference in New Issue