BASH RC GENERAL
POST YOUR PROMPTS
IF YOU HAVE ZRSH OR WHATEVER THE THAT SHIT IS CALLED FUCK OFF AND START YOUR OWN THREAD
zsh > *
>>60022933
>bashrc thread
>posts desktop with wrong prompt
"Expresses difficulty with following basic instructions"
>>60022933
Post butt.
I have a custom script in /home/myuser/bin
While adjusting path in bash itself it works, but I don't know where to adjust the path permanently.
PATH=$PATH:$HOME/bin
export PATH
in .bash_profile doesn't work
>>60023125
.bashrc
>>60023086
wh-why
>>60022904
ew bash it's bloat
>>60022933
ew zsh it's bloat
mksh > rc > openbsd pdksh > ash and likes > bloated stuff like bash or zsh > csh and likes > fish
>>60022904
somewhat related
>>60022904
I no longer use GNU + Linux, but you are free to have my .bashrc.
posted wrong pic
>>60023125
In a file called .bashrc in your ~/ directory, place the last line at the very bottom. It just works™.
>>60023160
shhh.. no questions, just butt.
>>60023155
>>60023214
Thank you very much gents, I was looking all over but didn't wanted to just drop it somewhere.
It works, I now have the godly gw command at my disposal, able to pipe through to cowsay._________________________________________
/ takeout's unrasping Apianus's \
| stolonlike lubbard's thoracodynia |
| satyra's pedaloes ultratechnical |
| Nicolle ritualizing iceberg Nereidae's |
| mocha's Canby conchy's undutifulnesses |
| annealed snathes omasa obsessivenesses |
| Kr's peltandra spherocytosis |
| Monodelphia's Mixtecan odah's Sapulpa |
\ chesils Menshevik tossup's metakinetic /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
>>60023272
>>60023277
Wrong quote
>>60022904
>>60022904
>>60022904
>he uses bash
>>60023304
>hostname | reboot
What does this even do?
>>60023304
yes i will be taking this thank yooouuu
mkcd () {
mkdir -p $1;
cd $1;
}
Why aren't you using fish?
>>60023304
try these apt-get aliases out:##management
alias update='sudo apt-get update'
alias install='sudo apt-get install'
alias scrub='sudo apt-get autoremove'
alias clean='sudo apt-get autoclean'
alias check='sudo apt-get check'
alias remove='sudo apt-get clean'
alias purge='sudo apt-get purge'
alias build='sudo apt-get build-dep'
alias surch='apt-cache search'
alias shoow='apt-cache show'
alias postapt='clean; remove; scrub; check'
>>60023446
reboots host
>>60023526
>missing the upgrade
But hey, these give me ideas for my raspberrypi ^^
>>60022904
i zsh now but back when i was dicking around linux i basically had 1 line in my bashrc
>alias fucking=sudo
this way i can giggle when i wrote
fucking shutdown now
>>60023559
>upgrading a system that works
I always find funny to set:
alias please='sudo'
seems more polite with your machine ; )
>>60023644
kek
>>60023633
Y.y.y.y.y.yyyou, got me :D
>>60023534
Yeah, but doesn't just reboot also reboot host?
>>60023254
was a revelation when i found the inputrc. my bash is pretty comfy
>>60023782
What do you have in there? I only have those lines. Was thinking of setting bash to vim mode but if I go use another machine maybe it will feel fucked up?
If your PS1 isn't '\$ ' then you need to go back.
>>60022933
post wallpaper
>>60023928set completion-ignore-case on
set completion-query-items -1
set show-all-if-ambiguous on
set show-all-if-unmodified on
set skip-completed-text on
gotta go over it line by line again, but have the ones you have in your shot and these. makes completion a tad better than vanilla. not quite zsh, but don't feel like going back to that.
>>60023304
anon why are you on root
>>60023471
nice
>>60023272
Thanks!
I don't use GNU/Linux right now, but I am using the Windows Subsystem for Linux. Any chance you've got a text dump of that?
>>60023734
I'm sorry. I didn't mean to get you.
>>60024260
Be carefull with wget
>>60024080
Thanks, heres what I've settled on for now
>>60024046
>>60024680
got colored stats too, forgot to add that. but i'm not much of a vim user, too rich for my tastes
Am I a faggot for putting my scripts in .profile on osx?
>>60022904# Alt-S to insert sudo at beginning of a line
insert_sudo () { zle beginning-of-line; zle -U "sudo " }
zle -N insert-sudo insert_sudo
bindkey "^[s" insert-sudo
"fractal"function fractal {
local lines columns colour a b p q i pnew
((columns=COLUMNS-1, lines=LINES-1, colour=0))
for ((b=-1.5; b<=1.5; b+=3.0/lines)) do
for ((a=-2.0; a<=1; a+=3.0/columns)) do
for ((p=0.0, q=0.0, i=0; p*p+q*q < 4 && i < 32; i++)) do
((pnew=p*p-q*q+a, q=2*p*q+b, p=pnew))
done
((colour=(i/4)%8))
echo -n "\\e[4${colour}m "
done
echo
done
}
>>60022933
didn't the mods ban this faggot? Fuck, you're the worst shitposter in all of /g/. Literally more cancerous than the tripfags here.
>>60025298
mods don't ban pass users baka
>>60025298
mods baka if ban
>>60023526
sorry but my bash doesn't recognize anything after sudo.
>>60025365
What if they post CP?
>>60025289bash: ((: b=-1.5: syntax error: invalid arithmetic operator (error token is ".5")
>>60025527
install bash-completion
>>60025298
he's unbannable
>>60025603
*she
>>60025655
sorry
is bash a programming language?
It ain't much
>>60025586
bash-completion already newset version. Im on Xubuntu
alias c='clear'
>>60022933
this is NOT the new desktop thread
>>60026501
you do know you can just Ctrl+l, right?
>>60022933
I miss you illyaposter post more
>>60027439
i didn't know that. wow
>>60027471
fancy
>>60027571
ctrl a is back to beginning if you forget sudo