90 Commits

Author SHA1 Message Date
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
5b2b188489 bash_aliases: cygwin "cs" function: launch file from its own directory 2012-03-22 16:17:57 -04:00
a5e85240c3 bash_aliases: handle spaces in $PWD for PROMPT_COMMAND 2012-03-18 16:36:15 -04:00
a9507a2982 bash_aliases: add git alias "mktarxz" 2012-03-10 12:46:27 -05:00
5d355aed43 bash_aliases: turn on cdshowgitstatus in PROMPT_COMMAND 2012-03-07 16:58:33 -05:00
b00a298f0a bash_aliases: show basename of PWD first in terminal title 2012-03-07 16:58:11 -05:00
f2b3d767d7 bash_aliases: cdshowgitstatus: also show git status when .git is a file 2012-03-07 16:39:39 -05:00
88aa7cf550 bash_aliases: cs() function: unset HOME when launching Windows processes 2012-02-27 14:05:54 -05:00
a8c7e6f1ab bash_aliases: fix prompt_ps1_git_branch() to work in a detached HEAD state 2012-02-21 15:52:20 -05:00
257f82b792 bash_aliases: change "gvim" from a simple alias to a smarter function 2012-02-09 14:06:34 -05:00
90af463af4 bash_aliases: rework prompt_ps1_git_branch() to show ahead/behind status 2012-01-19 15:12:59 -05:00
c0e3452832 bash_aliases: add git "mktar" alias 2011-12-14 13:47:27 -05:00
1844130a1b bash_aliases: set push.default to tracking 2011-12-02 14:18:57 -05:00
Josh Holtrop
c7decdb884 add cygwin "cs" alias 2011-12-01 17:26:58 -05:00
714d672fdb bash_aliases: prepend to $PROMPT_COMMAND instead of appending 2011-11-08 14:59:53 -05:00
f08ea06381 bash_aliases: remove +git from my git email address 2011-11-06 13:47:07 -05:00
Josh Holtrop
3559eda99a bash_aliases: add prompt_ps1_git_branch to show current git branch in prompt 2011-10-03 17:12:15 -04:00
Josh Holtrop
07e652054d add "cdshowgitstatus" prompt command alias to run "git status" automatically when cd'ing to a git project 2011-10-03 14:30:52 -04:00
Josh Holtrop
febf0bcad5 use more specific shell var name for "cattodo" 2011-10-03 14:26:14 -04:00
Josh Holtrop
5b77fca9b9 bash_aliases: remove incoming/outgoing git aliases
FETCH_HEAD does not behave as I expected with multiple branches
2011-09-27 10:38:47 -04:00
Josh Holtrop
297e251d7d bash_aliases: add git `wdiff' alias 2011-09-27 09:52:28 -04:00
Josh Holtrop
cb3f4e43f2 bash_aliases: alias files do not need to be executable to be sourced 2011-09-09 14:57:03 -04:00