Skip to content

Instantly share code, notes, and snippets.

View stooj's full-sized avatar

Stoo Johnston stooj

  • West coast of Scotland
View GitHub Profile
#
# This shell prompt config file was created by promptline.vim
#
function __promptline_host {
local only_if_ssh="0"
if [ $only_if_ssh -eq 0 -o -n "${SSH_CLIENT}" ]; then
if [[ -n ${ZSH_VERSION-} ]]; then print %m; elif [[ -n ${FISH_VERSION-} ]]; then hostname -s; else printf "%s" \\h; fi
fi
}
#
# This shell prompt config file was created by promptline.vim
#
function __promptline_host {
local only_if_ssh="0"
if [ $only_if_ssh -eq 0 -o -n "${SSH_CLIENT}" ]; then
if [[ -n ${ZSH_VERSION-} ]]; then print %m; elif [[ -n ${FISH_VERSION-} ]]; then hostname -s; else printf "%s" \\h; fi
fi
}

Keybase proof

I hereby claim:

  • I am stooj on github.
  • I am stooj (https://keybase.io/stooj) on keybase.
  • I have a public key ASD7P368xrlBVcklZtuPzL2jCepMmVBp-Ub1MY4GCRVLCQo

To claim this, I am signing this object:

/etc/init.d/myservice:
file.managed:
- source: salt://myservice/files/etc/init.d/myservice
- user: root
- group: root
- mode: 755
myservice:
service.running:
- enable: True