111 Commits

Author SHA1 Message Date
2ce98e447b move setting PS1 below the functions it uses 2018-06-15 14:18:49 -04:00
5fc59c5db8 bash_aliases: add ps-color function 2018-06-15 10:32:53 -04:00
b24c3aa3d4 chmod -x bash_aliases 2017-05-08 15:50:01 -04:00
4bce7a84b6 git config: support bcdiff/bcmerge from linux as well 2016-08-16 14:45:21 -04:00
058a422ff8 show svn status when changing directories into a subversion repository 2016-06-30 12:11:10 -04:00
d3b8edfaca fix prompt_ps1_git_branch when non-active branches are ahead/behind 2016-06-29 15:06:57 -04:00
bb25a12611 add function cd_hook_show_svn_status 2016-06-21 21:29:38 -04:00
304edd4347 add git alias amd 2016-06-21 21:29:25 -04:00
9135749b9e bash_aliases: fix modeline again for bash instead of sh 2016-04-06 17:35:14 -04:00
4345eabb88 bash_aliases: convert to 2-space indent 2016-04-06 17:32:19 -04:00
2897324ee3 bash_aliases: fix vim modeline 2016-04-06 17:28:28 -04:00
7309c0b32c bash_aliases: rework prompt_ps1_git_branch again
- avoid pipe to grep to find current branch line
- use local variables
- update to support git 2.x format for current branch detached-HEAD
  format
2016-04-06 17:26:11 -04:00
58cd63169f set LC_COLLATE=C to sort in ASCII order 2015-12-15 09:26:27 -05:00
23c604d351 bash_aliases: add rsync-vfat 2015-11-17 19:48:43 -05:00
81f7680493 add git alias "lg1" 2015-11-09 16:32:04 -05:00
8e50873282 bash_aliases: remove gvim alias 2015-05-20 09:13:54 -04:00
b8544a424a bash_aliases: add $git_empty_commit 2015-04-22 14:03:25 -04:00
6da0902eb0 grepnosvn: exclude .git also 2015-03-05 10:07:51 -05:00
c1b3d2b473 bash_aliases: prompt command: set directory to ~ if $PWD == $HOME 2015-02-10 09:45:55 -05:00
0808b1cf36 use "builtin" instead of "command" for shell builtins 2014-07-17 11:32:45 -04:00
e658839a68 fix prompt_ps1_git_branch() to properly show current "branch" information while rebasing 2014-06-27 14:14:34 -04:00
c6d7e1caac bash_aliases: in cygwin, always set SSH_AUTH_SOCK 2014-04-14 08:31:50 -04:00
ab87b07e83 bashrc, bash_aliases: in cygwin, only launch ssh-agent when the first "ssh" command is executed 2014-03-19 09:20:39 -04:00
034e52399b bash_aliases: cs: only cd to dirname of argument if argument exists in filesystem 2014-03-12 13:43:34 -04:00
206a087d54 cd_hook: do not invoke actions if in a bash subshell 2014-03-07 10:52:36 -05:00
628094554b change winpath from an alias to an environment variable 2014-03-03 11:26:03 -05:00
2a9c242373 use PROMPT_COMMAND to set terminal window title again
when using "cd" hooks, the hooks were executed in subshell environments like (cd dir; ls) and leaving the window title incorrect when the subshell exited
2014-02-28 09:30:27 -05:00
6011851fe4 bash_aliases: invoke cd_hook when bash_aliases file is loaded 2014-02-27 13:16:49 -05:00
d405c27c1d bash_aliases: cd_hook_change_terminal_title: compute $PWD basename instead of shelling out 2014-02-27 12:10:40 -05:00
a8360d38e1 reorganize bash_aliases; use shell built-ins when possible; use cd hooks instead of PROMPT_COMMAND for actions to be performed when changing directories 2014-02-27 11:52:52 -05:00
36860c5999 use "command gvim" instead of "$(which gvim)" 2014-02-27 11:17:58 -05:00
66e4597b85 update git Beyond Compare difftool from BC2 to BC3 2014-01-27 10:38:31 -05:00
3aa4ed29c3 update cattodo 2013-12-30 10:50:05 -05:00
adbe3fe704 update prompt_ps1_git_branch() to handle detached HEADs with git 1.8 2013-12-30 10:48:58 -05:00
9e5e382588 bash_aliases: add cco() function 2013-09-25 14:46:44 -04:00
64c6f733fb bash_aliases: prompt_ps1_git_branch(): minor fix in case commit comment contained a "]" character 2013-09-18 16:21:53 -04:00
d48d5d7157 significantly speed up showing git/svn branch in bash prompt 2013-09-18 09:58:43 -04:00
50189f2e16 bash_aliases: git config: add "lg" alias 2013-08-15 10:54:20 -04:00
bcbf886d85 git configuration: set color.diff.meta to yellow 2013-07-26 12:12:50 -04:00
1fcacd340e prompt_ps1_git_branch: fix in case the words "ahead" or "behind" are in the commit comment 2013-07-02 16:51:46 -04:00
b9a7e85e0a prompt_ps1_git_branch: handle being both ahead and behind tracking branch 2013-07-02 16:49:22 -04:00
ac5e13e215 use "command" when executing prompt commands to speed up execution 2013-06-04 11:20:27 -04:00
aba52dfcf3 remove user.email setting in git-config-joshs
add git-config-local-personal() for that
2013-05-17 14:00:56 -04:00
2f81c1a444 add winpath alias for cygwin 2012-09-25 14:36:33 -04:00
fece6b4e29 bash_aliases: git config: use new push.default of "upstream" 2012-09-10 14:20:06 -04:00
ef0e252883 bash_aliases: add winpython alias for cygwin 2012-07-11 13:40:10 -04:00
585b6ecfeb Merge branch 'master' of ssh://holtrop.homelinux.com/files 2012-07-09 13:46:59 -04:00
a6a3b5bc9a bash_aliases: add prompt_ps1_svn_branch() 2012-07-09 13:46:48 -04:00
c89f97e2bb add rip-dvd 2012-05-06 20:12:21 -04:00
528597c48a bash_aliases: cs: properly handle args with spaces 2012-04-12 13:18:31 -04:00