Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jgarvin/joe-etc
base: 681ae8f776
...
head fork: jgarvin/joe-etc
compare: 0db7615e88
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Showing with 12 additions and 4 deletions.
  1. +1 −1  bin/cnf
  2. +1 −1  jsh
  3. +6 −2 shell/fancy-prompt
  4. +4 −0 shell/zshrc
View
2  bin/cnf
@@ -72,7 +72,7 @@ switchcnf() {
}
if [ -e "$base_dir/$name-$folder_type" ]; then
- # switch to configuration that already exist
+ # switch to configurations that already exist
switchcnf
exit 0
fi
2  jsh
@@ -1 +1 @@
-Subproject commit 2c70f47181b5de6852b91f9d4308de7257393983
+Subproject commit 31f5422068e2ad4536ccb29b73be9c863a09b327
View
8 shell/fancy-prompt
@@ -31,7 +31,7 @@ get_git_prompt_info() {
echo $__CURRENT_GIT_BRANCH
}
-function precmd {
+function fancy_precmd {
local TERMWIDTH
(( TERMWIDTH = ${COLUMNS} - 1 ))
@@ -63,9 +63,11 @@ function precmd {
fi
}
+precmd_functions+='fancy_precmd'
+
setopt extended_glob
-preexec () {
+fancy_preexec () {
if [[ "$TERM" == "screen" ]]; then
local CMD=${1[(wr)^(*=*|sudo|-*)]}
echo -n "\ek$CMD\e\\"
@@ -76,6 +78,8 @@ preexec () {
esac
}
+preexec_functions+='fancy_preexec'
+
setprompt () {
###
# Need this so the prompt will work.
View
4 shell/zshrc
@@ -1,6 +1,8 @@
#!/usr/bin/env zsh
typeset -ga chpwd_functions
+typeset -ga preexec_functions
+typeset -ga precmd_functions
if [[ "$ZDOTDIR" = "" ]]; then
export ZDOTDIR=~
@@ -348,3 +350,5 @@ check_env_files()
}
chpwd_functions+='check_env_files'
+preexec_functions+='check_env_files'
+precmd_functions+='check_env_files'

No commit comments for this range

Something went wrong with that request. Please try again.