23 Commits

Author SHA1 Message Date
Martin Rey
1a7d86fdbc Use ZDOTDIR env variable for path to .zshrc
.zshrc can be found at "~/.zshrc", when ZDOTDIR is not set.
If ZDOTDIR is set, .zshrc is in "${ZDOTDIR}/.zshrc".
Using parameter expansion, the hardcoded path can be replaced with
"${ZDOTDIR:-$HOME}/.zshrc". That way, it'll use the value in
ZDOTDIR when set and the value in HOME when not.
This thus mirrors the usage of ZDOTDIR in zsh and makes the code
more fexible.
2020-03-09 22:25:17 +01:00
Zack Sheppard
65daecb0c7 Support for OS X .bash_profile + install logging
Adds support for OS X's default bash configuration file,
~/.bash_profile, and more logging during install about
which file, if any, got the source line added.
2015-11-28 12:34:44 -05:00
Nathan Broadbent
9c85aa4114 Run install script with bash, not sh 2012-10-17 10:24:03 +13:00
Nathan Broadbent
32a184d8c0 '.' => 'source' (some people alias '.' as something different) 2012-09-19 21:40:29 +12:00
Bernardo B. Marques
e8611bddbc . --> source. people can bind . for another function than source.. 2012-04-05 03:33:06 -03:00
Nathan Broadbent
1320aec4da Default to ~/.scm_breeze directory in bashrc 2012-01-28 19:06:17 +08:00
Nathan Broadbent
38832c70d7 Symlink to ~/.scm_breeze if not installing to that path 2012-01-17 12:27:42 +08:00
Nathan Broadbent
3ea2f43941 Removed newline 2011-10-21 08:55:45 +08:00
Nathan Broadbent
755ebeb54f Fixed scmbDir for install.sh 2011-10-21 08:54:18 +08:00
Nathan Broadbent
4c42f5df56 Merge remote branch 'beef/master'
Conflicts:
	install.sh
	lib/scm_breeze.sh
2011-10-21 08:38:54 +08:00
Andrew Lorente
bf5d50fcb8 Remove restrictions on directory for scm-breeze
Previously the script had to be installed to ~/.scm_breeze. Now it can
live anywhere!
2011-10-20 11:27:31 -07:00
Trey Hunner
0d7ee4866b Remove dependence on bash in install.sh
Replace bashisms with syntax supported by all posix-compliant shells.
The echo command does not support -e in many simplified shells
(including dash) so printf is favored.  The [[ ... ]] notation is also
not accepted by all posix shells so [ ... ] notation is used instead.
2011-10-20 10:50:57 -07:00
Nathan Broadbent
51d3ad0fb8 Added shebang to install.sh 2011-10-20 22:11:15 +08:00
Nathan Broadbent
c2b7ef5960 OS X's default shell doesn't like "echo -e foo" - it actually outputs "-e foo". 2011-10-20 19:38:20 +08:00
Nathan Broadbent
c6d0bb5e36 Tweaked comment 2011-10-19 18:35:40 +08:00
Nathan Broadbent
21c2f1b4ff Tell user to load SCM Breeze manually. 2011-10-19 18:33:32 +08:00
Nathan Broadbent
63491cd97f Updated install task, use shared function to create example scmbrc files 2011-10-19 18:19:29 +08:00
Nathan Broadbent
dff87f1bfd Made install task extensible for future SCM additions 2011-10-19 17:45:55 +08:00
Nathan Broadbent
b98f7b0b21 Docs 2011-10-18 00:52:48 +08:00
Nathan Broadbent
831c03c790 Added info to install task 2011-10-18 00:48:37 +08:00
Nathan Broadbent
27e72401b6 Copy example conf to rc file if doesnt exist. Tweaked example 2011-10-18 00:44:51 +08:00
Nathan Broadbent
8c95162bc6 Added update function. More name changes 2011-10-18 00:31:12 +08:00
Nathan Broadbent
e634d0c4b5 Initial Commit - moved out of ubuntu_config. 2011-10-18 00:18:17 +08:00