All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists matching topic shell

Recently created
Least recently created
Recently updated
Least recently updated
hash's Avatar

hash / Fish Config

0 likes
0 forks
1 files
Last active 1755459452
shell dotfiles
1 function fish_prompt
2 set_color -o red
3 echo -n "> "
4 set_color normal
5 end
6
7 # From https://github.com/mduvall/dotfiles/blob/master/fish_prompt.fish.
8 function fuller_prompt_cwd --description 'Print the current working directory, NOT shortened to fit the prompt'
9 if test "$PWD" != "$HOME"
10 printf "%s" (echo $PWD|sed -e 's|/private||' -e "s|^$HOME|~|")
Newer Older

Powered by Opengist ⋅ Load: 21ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano Polski Português Русский Türkçe Українська 中文 繁體中文