Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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: StephenBrown2/dotfiles
base: bb4638a2b8
...
head fork: StephenBrown2/dotfiles
compare: ef933d51ad
  • 3 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Showing with 18 additions and 7 deletions.
  1. +4 −5 bash_profile
  2. +6 −1 sh_aliases
  3. +2 −0  sh_env_vars
  4. +6 −1 zshrc
View
9 bash_profile
@@ -8,8 +8,7 @@ if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
-# User specific environment and startup programs
-
-PATH=$PATH:$HOME/bin
-
-export PATH
+# Source environment variables
+if [ -f ~/.sh_env_vars ]; then
+ source ~/.sh_env_vars
+fi
View
7 sh_aliases
@@ -11,7 +11,12 @@ alias mv='mv -i'
alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls -F --color=tty'
-alias allcron='cut -d: -f1 /etc/passwd | grep -vE "#" | xargs -i{} crontab -u{} -l'
+alias allcron='sudo cut -d: -f1 /etc/passwd | grep -vE "#" | xargs -i{} sudo crontab -u{} -l'
+alias d8='date --iso-8601'
+alias d8h='date --iso-8601=hour'
+alias d8m='date --iso-8601=minute'
+alias d8s='date --iso-8601=second'
+alias d8t='date +%FT%T'
alias hist='history | less'
alias cdv='cd /var/www'
alias cdd='cd /etc/init.d'
View
2  sh_env_vars
@@ -0,0 +1,2 @@
+export PATH=$PATH:$HOME/bin
+export TIME_STYLE=long-iso
View
7 zshrc
@@ -41,7 +41,12 @@ if [ -f ~/.zsh_aliases ]; then
source ~/.zsh_aliases
fi
+# Source environment variables
+if [ -f ~/.sh_env_vars ]; then
+ source ~/.sh_env_vars
+fi
+
# Source zsh specific prompt
if [ -f ~/.zsh_prompt ]; then
- source ~/.zsh_prompt
+ source ~/.zsh_prompt
fi

No commit comments for this range

Something went wrong with that request. Please try again.