13 thoughts on “bashrc

  1. karol

    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).

    Reply
  2. Todd Partridge (Gen2ly) Post author

    ha, ha, I understand. Yeah, if you have a high DPI monitor (or just like large text) I could see how this fixed-width blog template would “run-in” my code blocks. Ok, adding url to post.

    Reply
  3. karol

    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’.

    Reply
  4. Todd Partridge (Gen2ly) Post author

    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.

    Reply
  5. karol

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

    Reply
  6. Insomniac Software (@InsomniacSoft)

    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.

    Reply

Leave a reply to karol Cancel reply