show me your shell prompt
Shell prompt
Other urls found in this thread:
lonewolfonline.net
twitter.com
Gay >>> colours
It would identify me!
blur it user
o-ok...
sure thing mohammed
beautiful
function fish_prompt
set_color --bold red
printf (whoami)
set_color --bold green
printf " // "
set_color --bold yellow
printf (basename (pwd))
set_color --bold blue
printf " // "
set_color --bold magenta
printf (date | awk '{ print $2 " " $3 " " $5 }')
set_color --bold cyan
printf " λ "
set_color normal
end
:^)
Manjaro users rise up
default i3 look with black background is the only based option when it comes to DE.
sir this is prompt thread
>| identifies if last command was ran successfully or not
>dir
>| as separator
>branch
>branch status
>sexy @ sign
Here you go.
Why would you cuck yourself so hard?
Not the correct font since Im sshing from mobile.
Hello fellow fish user
Is this the new desktop thread?
No, this is the terminal prompt thread
Thank you habibi
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
echo
# User
set_color cyan
echo -n (whoami)
set_color brcyan
echo -n '@'
# Host
set_color cyan
echo -n (prompt_hostname)
set_color brcyan
echo -n ' : '
# PWD
set_color cyan
echo -n (prompt_pwd)
set_color cyan
__terlar_git_prompt
__fish_hg_prompt
echo
if not test $last_status -eq 0
set_color $fish_color_error
end
echo -n ' '
set_color normal
end
This but unironically :^)
%
>they made powershell look like shit
hit me with your most usefull aliases Jow Forums
s'all fine and dandy but could you use a less gay font?
Your font looks way worse than theirs you fucking hipster. Some of us do actual work in the terminal and you want something easy on the eyes not this gay 80's-hacker attention whore retardation.
Just go put a craig's list add up asking to be bukkaked if you need approval this bad.
>he unironically doesn't know how much easier on the eye bitmap fonts are
why haven't you taken the moe-pill yet Jow Forums?
I skipped the moepill and went straight to the cunnypill.
Plebes. Get on my level.
PS1='% '
# this makes prompt_pwd show the full path instead of single character path
set fish_prompt_pwd_dir_length 0
function fish_prompt
echo # this puts a space between commands
set_color yellow
echo (prompt_pwd)
set_color purple
echo -n ' ▶ '
set_color normal
end
I'm starting to think I'm the only one on Jow Forums that likes a light themed terminal
I switch between light and dark terminal depending on wheter it's day or night.
man, i like your color scheme
gb2 india
>makes fun of mine
>doesn't link own
okay
gayest prompt
alias ls='rm -rf'
I'm not weebscum
$
so i just got manjaro after a few years of windows and i started using i3 last night
how do i theme my terminal like that? specifically with some ascii art and rainbow shit
the unraveler from oh my zsh
>nano
alright, so here's the deal:
ur dum
looks awesome. 10/10
making progress...
what wm + theme is that
just google "obscure wm"
eshell
fvwm
>eshell
yes
you have to install gentoo, it's the only way to really get those vivid colors
getting there
how do i set this color scheme to my terminal?
I prefer light colour schemes as well. Using redshift so my eyes won't burn at night though.
$T $P$_$G
[~/foo/bar] $ for normal users [~/foo/bar] # for root.
Um, OK.
people keep using the dollar sign for their prompt symbol, I wonder if people are aware you can choose from the entire utf8 symbol set for characters to use for their prompt?
lonewolfonline.net
self made fish prompt
return codes in prompt :DDDDDDD
by "self made" you mean you installed Oh My Fish and then installed the agnoster theme
nope, I programmed it myself... omf does a few things differently
So useful.
>prompt_pwd
how did I not know about this, thanks, I now have (basename (prompt_pwd)) instead. I still think the full pwd starts to get annoying when you're in a deep directory somewhere.
i only have the current directory name in the prompt
Font name pls
Ubuntu
related
HOME_OFFSET=$((${#HOME}+1))
get_dir_symbol(){
case "$PWD" in
$HOME)
echo -n "${PWD:$HOME_OFFSET}"
;;
$HOME/*)
echo -n "@${PWD:$HOME_OFFSET}"
;;
/*)
echo -n "#${PWD:1}"
;;
esac
}
PS1='\[${color2}\]$(get_dir_symbol) \[${color3}\]»\[${color4}\]»\[${color5}\]» \[${normal}\]'
PS2='\[${color2}\]\[${normal}\] '
Nice. I like it.
>not using yash
:^)
You're still playing with shell prompts? What a loser.