Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cosmetic formatting.
  • Loading branch information
duff committed Mar 9, 2012
1 parent dcd1355 commit 437d953
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .zsh/aliases.zsh
Expand Up @@ -10,8 +10,6 @@ alias ls='ls -GFh'
# Same as above, but in long listing format
alias ll='ls -GFhl'

alias vi='vim'

# Git stuff
alias gl='git log --no-merges --pretty=format:"* %s %b (%cn)"'
alias gb='git branch -a -v'
Expand Down
2 changes: 1 addition & 1 deletion .zsh/exports.zsh
@@ -1,6 +1,6 @@
export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$HOME/bin:/opt/local/bin:/opt/local/sbin:$PATH

# Our list of directorys we can cd to from anywhere
# Our list of directories we can cd to from anywhere
export CDPATH=.:~/code

# Setup terminal, and turn on colors
Expand Down
6 changes: 3 additions & 3 deletions .zsh/zsh_hooks.zsh
@@ -1,16 +1,16 @@

# Put the string "hostname::/full/directory/path" in the title bar:
function set_term_title {
echo -ne "\e]2;$PWD\a"
echo -ne "\e]2;$PWD\a"
}

# Put the parentdir/currentdir in the tab
function set_term_tab {
echo -ne "\e]1;$PWD:h:t/$PWD:t\a"
echo -ne "\e]1;$PWD:h:t/$PWD:t\a"
}

function set_running_app {
printf "\e]1; $PWD:t:$(history $HISTCMD | cut -b7- ) \a"
printf "\e]1; $PWD:t:$(history $HISTCMD | cut -b7- ) \a"
}

function precmd {
Expand Down

0 comments on commit 437d953

Please sign in to comment.