Commit graph

13 commits

Author SHA1 Message Date
1deacf25b4 [bash] only apply tmux PATH fix on the Mac
The workaround that works for the Mac breaks the PATH on Linux, so run
it only on the Mac.
2018-09-10 22:49:40 +02:00
e449444252 [bash] make nested shells visible on prompt
The $ or # now gets repeated as many times as levels of shell nesting we
have.
2018-04-15 20:03:11 +02:00
807d172521 [bash] fix inconsistent PATH and MANPATH
These two major problems existed:

 * PATH got multiple instances of the same entries for nested shells.
 * MANPATH got set, but ignoring the results of the system's `manpath`
   command. This caused some man pages to be missing, because the
   presence of MANPATH variable prevents man from looking up man pages
   at the paths returned from `manpath`.

Both issues are now fixed :)

BONUS: we abstract the last absolute locations we had in terms of where
Homebrew is installed. For Linux, Cygwin, or Mac without Homebrew we
assume all our custom tools will be installed under /usr/local. It is
easy enough to change that in case we have a different directory in a
specific system.
2018-04-15 20:01:43 +02:00
219a0108f9 [bash] avoid shadowing system manpath command 2018-04-15 19:54:00 +02:00
e15d3b1a40 [bash] make solarized() more informative 2018-04-15 12:01:44 +02:00
5b19853b94 [git] organize supporting files 2018-04-15 11:28:33 +02:00
712b11e620 [bash] remove newline from PS1
This makes my prompt play a little nicer with python virtual
environments.
2018-04-05 19:29:21 +02:00
03bc9ce933 [bash] use red prompt when logged in as root 2018-03-28 17:27:25 +02:00
3e64d54317 [bash] improve ls aliases
When the GNU version of `ls` is not installed (e.g. on a new Mac), the
previous alias causes problems because the --group-directories-first
option is not supported and makes `ls` fail. This commit fixes that by
checking which version is installed and creating the alias accordingly.
2018-03-04 18:25:22 +01:00
36ce14439b [bash] fix typo in comment 2018-03-04 18:25:22 +01:00
0b07964c2f [bash] clean up git prompt remains 2017-02-04 16:48:18 +01:00
2cb7e0fb1e [bash] move configuration to .bashrc
Since now the .bashrc is source from .bash_profile, the end result in
terms of what gets executed is the same. However, it is quicker to type
`vim .bashrc` when changing settings.
2017-02-04 16:41:33 +01:00
a557472b0f Initial commit
This adds the current state of my dotfiles for version control.
2015-06-13 21:09:33 +02:00