-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathzprofile
More file actions
27 lines (23 loc) · 888 Bytes
/
Copy pathzprofile
File metadata and controls
27 lines (23 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# we always use console from an xterm-color compatible terminal, tell the world.
#export TERM=xterm-256color
# git config is managed statically via ~/dotfiles/gitconfig (symlinked to ~/.gitconfig)
# tell gitflow to use 'lg' as our log command
export git_log_command=lg
# run local .zprofile
source ~/.zprofile.local
# auto-run screen, but only once
# Be sure to munge path or set $SCREEN in .zshenv
# MUST be done last or the rest of the .zprofile script doesn't run until after screen terminates.
if tty -s; then
if ps x | grep -i "SCREEN -S MainScreen" | grep -v grep &> /dev/null
then
echo "Screen is already running."
else
echo "Starting screen..."
if [ -z $SCREEN ]; then
SCREEN=screen
fi
$SCREEN -S MainScreen
fi
fi
## Anything below here was probably added automatically and should be moved to ~/.zshrc.local