TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What does your .bashrc file contain

3 pointsby victorbojicaover 5 years ago
For the past weeks i&#x27;ve gotten a muscle memory for the ll command. Because i&#x27;m on Mac OS, it&#x27;s not avaialable by default, so i&#x27;ve added it to my .bashrc file.<p>This made me wonder what else i&#x27;ve been missing on.

1 comment

simonblackover 5 years ago
My .bashrc has 128 lines, including:<p>Customised prompt, showing HOSTNAME, LOGNAME, current directory, git status, user-level indicator: (&quot;centrepoint [jvs] &#x2F;home&#x2F;jvs&#x2F;wrk&#x2F;horizon&#x2F;src [dev*] &gt; &quot;) The user-level indicator shows &#x27;&gt; &#x27; for a normal user, and &#x27;# &#x27; for the root user, though the LOGNAME also changes from &#x27;jvs&#x27; to &#x27;root&#x27;.<p>Git-Branch&#x2F;Status indicator. (&#x27;Am I in the &quot;dev&quot; branch, or still in &quot;master&quot;?&#x27;)<p>Various aliases.<p>Various environmental variables. (personalised $PATH, etc)<p>Various pieces of configuration data held in environmental variables. (selected printer, newsgroup server and login info, personalised text editor, etc)<p>Local timezone setting.
评论 #21821266 未加载