r/ScriptSwap • u/gitclone • Mar 13 '15
ITT, .bashrc and .zshrc files
ITT, we post our .bashrc and .zshrc files. Post your aliases, prompts, and functions.
Try and put 'em on Gist, Pastebin, or just paste it here.
Here's mine: https://gist.github.com/anonymous/d06f13cd913ee07d2bee
21
Upvotes
View all comments
Show parent comment
3
u/UnchainedMundane Mar 15 '15
myps can be done as a function, which means you don't have to eval:
I can't quite tell what goto is meant to do at a glance, but there is a bug here:
No $ before tmpfile (also, you don't need to touch it, bash will create it itself)