bashrc

The bash shell’s setting file is a really nice this to have detailed. Therefore I looked into it pretty good. For any that would like to use it, it can be found in the AUR.

Advertisements

13 thoughts on “bashrc

  1. Sorry for a bit of OT, but can you upload a screenshot of what you expect this website looks like?
    On my browsers the field with the code is really narrow and scrolling doesn’t help much. If this is the way you want it, I would appreciate a link to a file I can download otherwise I have to copy the code (not a bit deal, it’s just a suggestion ;P).

  2. 1. The man page says: “A value of ignoreboth is shorthand for ignorespace and ignoredups.” so you probably don’t need ignoredups.
    2. You missed an ‘e’ at the end of ‘human-readabl’.

  3. karol said:

    1. The man page says: “A value of ignoreboth is shorthand for ignorespace and ignoredups.” so you probably don’t need ignoredups.
    2. You missed an ‘e’ at the end of ‘human-readabl’.

    Ah, thanks for the info on ignoredups, I had missed that. As for readable, that was on purpose because I use 80 character-limited lines. Updated blog.

  4. > As for readable, that was on purpose because I use 80 character-limited lines.
    The ‘export PATH’ line seems to be 200+ characters long.

  5. Try putting each path entry on its own line, appending to the previous. Allows you to easily maintain the path order entries while keeping your column width limit. exports them all at the end with your path entries then the system profile path entries.

    unset _PATH
    _PATH=”$_PATH:$scrpt_dir”
    _PATH=”$_PATH:$scrpt_dir/root/backup”
    _PATH=”$_PATH:$scrpt_dir/bugfixes”
    _PATH=”$_PATH:$scrpt_dir/root”
    _PATH=”$_PATH:$scrpt_dir/root/debian”
    _PATH=”$_PATH:$scrpt_dir/root/gentoo”
    _PATH=”$_PATH:$scrpt_dir/root/arch”
    _PATH=”$_PATH:$scrpt_dir/root/testing”
    _PATH=”$_PATH:$scrpt_dir/others”
    _PATH=”$_PATH:$scrpt_dir/testing”
    export PATH=”$_PATH:$PATH”

    also you have multiple aliases with the same name (pasteit and turl).
    Thanks for the post. Learned a couple neat tricks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s