[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

What does your prompt look like /g/? My .bashrc http://ha

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 28
Thread images: 14

File: konsole.png (51KB, 1920x1080px) Image search: [Google]
konsole.png
51KB, 1920x1080px
What does your prompt look like /g/?


My .bashrc
http://hastebin.com/acageyakas.md
>>
File: 2016-08-26_01-59-36-snip.png (769B, 484x292px) Image search: [Google]
2016-08-26_01-59-36-snip.png
769B, 484x292px
What is the point of delaying the time it takes to open a terminal by running a bloatscript that probes your system just to clutter up your screen with information you already know and probably don't care about at the time?
>>
>>56260007
Delays it for maybe half a second the first time I start it. Besides, it looks cool.
>>
File: Screenshot_2016-08-25_13-36-31.png (60KB, 1014x617px) Image search: [Google]
Screenshot_2016-08-25_13-36-31.png
60KB, 1014x617px
>>56259981
My discordianigga.

#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias weatherreport='curl -4 http://wttr.in/BuenosAires'
alias ls='ls --color=auto'
alias DOITFAGGOT='sudo $(history -p !-1)'
alias sysupgrade='sudo rm -f /var/lib/pacman/db.lck && yaourt -Syyua'
screenfetch

PS1='[\u@\h \W]\$ '
# >>>>BEGIN ADDED BY CNCHI INSTALLER<<<< #
BROWSER=/usr/bin/chromium
EDITOR=/usr/bin/nano
# >>>>>END ADDED BY CNCHI INSTALLER<<<<< #
>>
>>56260113

I was so sad when they removed ddate from util-linux.

Also, I stayed in Buenos Aires for about 6 months a few years ago. Was fucking awesome.
>>
File: Screenshot_2016-08-25_19-09-10.png (13KB, 662x403px) Image search: [Google]
Screenshot_2016-08-25_19-09-10.png
13KB, 662x403px
I don't really see the point in fancy prompts, the terminal is there to do work not to look qt and display uguu anime.
>>
File: Screenshot (106).jpg (89KB, 735x525px) Image search: [Google]
Screenshot (106).jpg
89KB, 735x525px
>>
File: asdfasdf.png (8KB, 644x387px) Image search: [Google]
asdfasdf.png
8KB, 644x387px
When I login over SSH I use fortune to serve me up a deep thought from Jack Handey. Otherwise it's just plain.

Tack this onto your .bashrc to do something similar:
#spit out a deep thought when logging in from ssh:
if [[ $SSH_CONNECTION ]] ; then
echo " "
echo "Deep thought of the moment:"
echo " "
fortune /media/bigdrive/fortunes/
echo " "
fi
>>
>>56260694
You should >&2 this so it writes to stderr. Otherwise, tools like rsync will be confused.
>>
>manjaro
>>
File: Screenshot_2016-08-25_13-33-00.png (7KB, 644x407px) Image search: [Google]
Screenshot_2016-08-25_13-33-00.png
7KB, 644x407px
Just comfy
>>
>>56259981
>YOLD 3182
>>
File: wew.png (76KB, 960x531px) Image search: [Google]
wew.png
76KB, 960x531px
I have a function that shows the return status of the last run command but beyond that its very simple.
>>
File: prompt.png (5KB, 817x678px) Image search: [Google]
prompt.png
5KB, 817x678px
I've experimented with bash and zsh, and now typically use fish for interactive shells, switching to bash $ for POSIX scripting when needed.
>>
>>56260743
No, I am confused.

What does >&2 do exactly?
>>
>>56263794
Stdout to stderr
>>
>>56259981
Try ZSH, I'm much more productive in it
>>
Mine is just PS1='/w/$'

Looks like ~$ when in /home.
>>
How do I get cute girls into xshell as background, I was forced to retire putty at work.
>>
File: 2016-08-25-232420_630x346_scrot.png (15KB, 630x346px) Image search: [Google]
2016-08-25-232420_630x346_scrot.png
15KB, 630x346px
Zsh + vi bindings running extremely comfy.
>>
>Manjaro
might as well use Ubuntu or Mint and not have to deal with that pacman shit
>>
How about a dancing Kirby?
export ORIG_PS1=$PS1
export KIRBY_IDX=0
KIRBY_FRAMES=("<('.'<)" "^('.')^" "(>'.')>" "^('.')^")
export PROMPT_COMMAND='export PS1="$ORIG_PS1${KIRBY_FRAMES[KIRBY_IDX]} "; export KIRBY_IDX=$(expr $(expr $KIRBY_IDX + 1) % ${#KIRBY_FRAMES[@]})'
>>
>>56260007
this. it's pretty much just fuckos trying to look cool
>>
File: zero rice.png (77KB, 1058x760px) Image search: [Google]
zero rice.png
77KB, 1058x760px
plain 'n' simple is the best way to go
>>
can anyone explain to a retard the difference between running bash/zhs/fish? i know fish has autocompletion and looks nice but is there any other reason to switch?
>>
>>56264159
Only if you're a hipster.
>>
File: Screenshot_20160825_180413.png (64KB, 1579x384px) Image search: [Google]
Screenshot_20160825_180413.png
64KB, 1579x384px
>>
File: slowclap.gif (402KB, 250x189px) Image search: [Google]
slowclap.gif
402KB, 250x189px
>>56264104
dank
Thread posts: 28
Thread images: 14


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.