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.
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.
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).
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.
Same here. There seems to be a lot of wasted space under the terminal icon, but only for the code listing (?).
Ah, I see. The terminal icon had a lot of empty space around it, got a new one instead.
It looks a lot better now, thanks :-)
Your previous posts e.g. https://linuxtidbits.wordpress.com/2008/08/11/output-color-on-bash-scripts/ looked fine but I didn’t associate the change with the icon – good catch, niico.
Shouldn’t the return line be much higher?
Here is mine for comments!
https://github.com/kaihendry/Kai-s–HOME/blob/master/.bashrc
@Kai
Yep, good catch. Fixed.
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’.
karol said:
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.
> As for readable, that was on purpose because I use 80 character-limited lines.
The ‘export PATH’ line seems to be 200+ characters long.
karol said:
LOL, not sure what I can about that though :).
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.
Reblogged this on Benny's Blog.