diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-01-25 17:44:09 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-01-25 17:44:09 +0100 |
commit | 60d6c8e75cfec1e30ca0f6bd113dbbfa051c697c (patch) | |
tree | 92a3eafb03c5c5f2475f117a6739166be89a904b /12_Prompts.zsh | |
parent | fc32b3a21708bf48ffd5af87fd5de45cebd7398c (diff) |
[Trash] Better trash managment with relative paths support
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 48ee978..c06f982 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -43,6 +43,9 @@ chpwd() # Shows tracked branches and modified files git checkout HEAD 2>&1 | sed 's/^/ /' fi + + + hash -d trash=$TRASH$(readlink -f $PWD) } __expand_text() |