Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

hanselman pretty prompt

GOPATH=$HOME/go
function _update_ps1() {
    PS1="$($GOPATH/bin/powerline-go -error $?)"
}
if [ "$TERM" != "linux" ] && [ -f "$GOPATH/bin/powerline-go" ]; then
    PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: how to make bash script must be ran in sudo 
Shell :: terminal make directory and enter in the same time 
Shell :: open a file from the integrated terminal in Visual Studio Code? 
Shell :: mac workbench error loading schema content 1558 
Shell :: copy content from one files to another in linux shell script 
Shell :: GIT: Clone and Existing Repository 
Shell :: lxc bash script source 
Shell :: Pipe script to a remote server 
Shell :: Winbuilder 
Shell :: apt remove package completely with configuration 
Shell :: install goaccess 
Shell :: ghostscript pdf to text 
Shell :: consolidated version yarn.lock 
Shell :: flag yes gcloud 
Shell :: mongo import all from bson 
Shell :: rpm scriptlets 
Shell :: find directories not contain specific file 
Shell :: linux screen one buffer frozen 
Shell :: chrome open in vsc window ubuntu 
Shell :: c pipe 2 arguments 
Shell :: docker toolbox windows clean 
Shell :: ispconfig auto installer 
Shell :: letsencrypt raspberry pi 
Shell :: repozytoria ubuntu 
Shell :: Change cursor in git 
Shell :: haskell run prelude 
Shell :: Git merge submodule into parent tree and preserving commit history 
Shell :: how to apply password to folder and file shell scripting in linux 
Shell :: git push ignore pre push 
Shell :: docker restart always 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =