| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[white]%}["
|
| 2 | 2 |
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
|
| 3 |
-ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}●%{$reset_color%}"
|
|
| 3 |
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}%{$reset_color%}"
|
|
| 4 | 4 |
ZSH_THEME_GIT_PROMPT_CLEAN="" |
| 5 | 5 |
|
| 6 | 6 |
#Customized git status, oh-my-zsh currently does not allow render dirty status before branch |
| ... | ... |
@@ -12,4 +12,4 @@ git_custom_status() {
|
| 12 | 12 |
} |
| 13 | 13 |
|
| 14 | 14 |
|
| 15 |
-PROMPT='%~$(git_custom_status) ❯ %b' |
|
| 15 |
+PROMPT='%~$(git_custom_status) > %b' |
| ... | ... |
@@ -1,3 +1,8 @@ |
| 1 |
+export TERM=xterm-256color |
|
| 2 |
+[ -n "$TMUX" ] && export TERM=screen-256color |
|
| 3 |
+ |
|
| 4 |
+[[ $TERM != screen* ]] && (tmux -q has-session && exec tmux attach-session || exec tmux new-session) |
|
| 5 |
+ |
|
| 1 | 6 |
# Path to your oh-my-zsh configuration. |
| 2 | 7 |
export ZSH=$HOME/.oh-my-zsh |
| 3 | 8 |
|
| ... | ... |
@@ -25,7 +30,9 @@ plugins=(git git-flow cap gem zsh-syntax-highlighting) |
| 25 | 25 |
|
| 26 | 26 |
source /etc/profile |
| 27 | 27 |
source $ZSH/oh-my-zsh.sh |
| 28 |
+[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |
|
| 28 | 29 |
|
| 30 |
+setopt extended_glob |
|
| 29 | 31 |
unsetopt nomatch |
| 30 | 32 |
unsetopt correctall |
| 31 | 33 |
|
| ... | ... |
@@ -55,29 +62,20 @@ ZSH_HIGHLIGHT_STYLES+=( |
| 55 | 55 |
assign 'none' |
| 56 | 56 |
) |
| 57 | 57 |
|
| 58 |
-#bindkey "\e[H" beginning-of-line |
|
| 59 |
-#bindkey "\e[F" end-of-line |
|
| 60 |
-bindkey "\e[1;5D" backward-word |
|
| 61 |
-bindkey "\e[1;5C" forward-word |
|
| 58 |
+bindkey "" beginning-of-line |
|
| 59 |
+bindkey "" end-of-line |
|
| 62 | 60 |
bindkey "^[OD" backward-word |
| 63 | 61 |
bindkey "^[OC" forward-word |
| 62 |
+bindkey "" gosmacs-transpose-chars |
|
| 64 | 63 |
|
| 65 | 64 |
alias noh="unsetopt sharehistory" |
| 66 | 65 |
|
| 67 |
-#unsetopt auto_name_dirs # rvm_rvmrc_cwd fix |
|
| 68 |
-#[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. |
|
| 69 |
-#unset RUBYOPT |
|
| 70 |
-#cd . # to rvm reload |
|
| 71 |
- |
|
| 72 |
- |
|
| 73 | 66 |
alias nogit="disable_git_prompt_info; compdef -d git" |
| 74 |
-alias pacman="pacman-color" |
|
| 75 | 67 |
alias cal="cal -m" |
| 76 | 68 |
alias du="du -hs" |
| 77 | 69 |
alias df="df -h" |
| 78 | 70 |
alias grep="grep --colour -i" |
| 79 | 71 |
alias vi="vim -u ~/.vimrc" |
| 80 |
-alias xterm="LANG=sk_SK.utf8 xterm" |
|
| 81 | 72 |
alias rtorrent="rtorrent -o http_capath=/etc/ssl/certs" |
| 82 | 73 |
alias m="cd /media/data/" |
| 83 | 74 |
alias toclip="xclip -selection clipboard" |
| ... | ... |
@@ -87,10 +85,12 @@ alias rm="rm -v" |
| 87 | 87 |
alias mv="mv -v" |
| 88 | 88 |
alias cp="cp -v" |
| 89 | 89 |
alias y="yaourt -Syu --aur" |
| 90 |
+alias n="ncmpcpp" |
|
| 91 |
+alias chromium="chromium --disk-cache-dir=/home/cinan/.config/chromium/Cache" |
|
| 90 | 92 |
|
| 91 | 93 |
export EDITOR="vim" |
| 92 |
-export TERM=xterm-256color |
|
| 93 |
-export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd' |
|
| 94 |
+#export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd' |
|
| 95 |
+export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dawt.RenderingHint=lcd' |
|
| 94 | 96 |
#--laf javax.swing.plaf.metal.MetalLookAndFeel |
| 95 | 97 |
#--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel |
| 96 | 98 |
|
| ... | ... |
@@ -98,5 +98,5 @@ export HISTFILE=~/.zsh_history |
| 98 | 98 |
export HISTSIZE=10000 |
| 99 | 99 |
export SAVEHIST=10000 |
| 100 | 100 |
|
| 101 |
-export PATH=$PATH:/home/cinan/.gem/ruby/1.9.1/bin |
|
| 102 |
-export GEM_HOME=$GEM_HOME:/home/cinan/.gem/ruby/1.9.1 |
|
| 103 | 101 |
\ No newline at end of file |
| 102 |
+export PATH=$PATH:$HOME/.rvm/bin:$HOME/system/bin |
|
| 103 |
+ |