mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 05:06:41 +00:00
Slightly better docs for my theme
This commit is contained in:
parent
028d0a56a0
commit
84f1e40f70
@ -1,13 +1,11 @@
|
|||||||
# TODO: [force_target] [virtualenv]
|
|
||||||
# TODO: Eventually... make pluggable so plugins can add to prompt
|
# TODO: Eventually... make pluggable so plugins can add to prompt
|
||||||
|
|
||||||
# function _atf_target
|
# This is exported because the venv is now included here
|
||||||
# set -l org (atf-target 2> /dev/null) || return
|
|
||||||
# echo " [$org]"
|
|
||||||
# end
|
|
||||||
#
|
|
||||||
set -xg VIRTUAL_ENV_DISABLE_PROMPT 1
|
set -xg VIRTUAL_ENV_DISABLE_PROMPT 1
|
||||||
|
|
||||||
|
# Returns identifier for target from github.com/heroku/force
|
||||||
|
# requires teh following additional script
|
||||||
|
# https://github.com/ViViDboarder/shoestrap/blob/clean-shoes/assets/default/force-cli/force-target
|
||||||
function _force_target
|
function _force_target
|
||||||
if [ (git config force.use) ]
|
if [ (git config force.use) ]
|
||||||
set -l org (force-target)
|
set -l org (force-target)
|
||||||
@ -22,7 +20,7 @@ function _virtual_env
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function fish_right_prompt -d 'Write out the right prompt of thefij theme'
|
function fish_right_prompt
|
||||||
set -l cyan (set_color -o cyan)
|
set -l cyan (set_color -o cyan)
|
||||||
set -l yellow (set_color -o yellow)
|
set -l yellow (set_color -o yellow)
|
||||||
set -l red (set_color -o red)
|
set -l red (set_color -o red)
|
||||||
|
Loading…
Reference in New Issue
Block a user