Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update

  • Loading branch information...
commit 8463e560467ad6646dff92eccbca84e4dea7ce60 1 parent 54f85bf
@yuriihabrusiev yuriihabrusiev authored
View
1  .config/ranger/bookmarks
@@ -1 +0,0 @@
-':/home/kemmotar
View
16 .config/ranger/history
@@ -1,16 +0,0 @@
-e .config
-cd .config
-delete seriously?
-delete
-delete seriously? n
-delete seriously? y
-execute_file
-execute_file %
-execute_file bundle
-execute_file
-
-rm id_rsa*
-delete id_rsa*
-delete id_rsa
-search zsh
-qa
View
11 .zsh/oh-my-zsh-custom/conf.zsh
@@ -0,0 +1,11 @@
+conf() {
+ case $1 in
+ bash) vim ~/.bashrc ;;
+ zsh) vim ~/.zshrc ;;
+ conky) vim ~/.conkyrc ;;
+ tmux) vim ~/.tmux.conf ;;
+ vim) vim ~/.vimrc ;;
+ xinit) vim ~/.xinitrc ;;
+ xres) vim ~/.Xresources && xrdb ~/.Xresources ;;
+ esac
+}
View
19 .zsh/oh-my-zsh-custom/kemmotar-mini.zsh-theme
@@ -0,0 +1,19 @@
+# vim: ft=zsh
+
+if [ "$(whoami)" = "root" ]
+then USERCOLOR="red"
+else USERCOLOR="blue"
+fi
+
+local k_name='%{$fg[green]%}%n%{$reset_color%}' # username
+local k_at='%{$fg[$USERCOLOR]%}@%{$reset_color%}' # @
+local k_host='%{$fg[green]%}%M%{$reset_color%}' #hostname
+local k_dir='%{${fg[yellow]}%}${PWD/#$HOME/~}%{${reset_color}%}' # pwd
+
+local k_date='%{$fg[$USERCOLOR]%}$(date +"%H:%M")%{$reset_color%}'
+local cmdline='%{${fg[$USERCOLOR]}%} %# %{${reset_color}%}' # cmd
+
+PROMPT="┌─[${k_name}${k_at}${k_host}]─(${k_dir})─[${k_date}]
+└─[${cmdline}"
+
+RPROMPT="]"
View
23 .zshrc
@@ -3,18 +3,15 @@ ZSH_CUSTOM=$HOME/.zsh/oh-my-zsh-custom
ZSH_THEME="kemmotar"
-plugins=(git mercurial python pip django extract archlinux debian)
+plugins=(git python pip django archlinux extract)
source $ZSH/oh-my-zsh.sh
-#export PATH=$HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
export PATH=$HOME/bin:$PATH
export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$HOME/.gem/ruby/1.9.1/bin
export EDITOR='vim'
-#eval $(dircolors ~/.dircolours)
-
alias zre="source ~/.zshrc"
# system
alias sx='startx'
@@ -24,8 +21,8 @@ alias rbt='sudo shutdown -r now'
alias am='alsamixer'
alias tmux='tmux -2'
-# virtualenv
-alias vact="source bin/activate"
+# simple server
+alias pyss="python -m SimpleHTTPServer"
# django
alias djrs="python manage.py runserver"
@@ -39,9 +36,6 @@ alias -s jpg=feh
alias -s gif=feh
alias -s txt=vim
-#alias -s py=vim
-#alias -s ru=vim
-alias -s c=vim
alias -s jar='java -jar'
@@ -50,14 +44,3 @@ alias gsin="git submodule init"
alias gsup="git submodule update"
alias gspl="git submodule foreach git pull origin master"
-conf() {
- case $1 in
- bash) vim ~/.bashrc ;;
- zsh) vim ~/.zshrc ;;
- conky) vim ~/.conkyrc ;;
- tmux) vim ~/.tmux.conf ;;
- vim) vim ~/.vimrc ;;
- xinit) vim ~/.xinitrc ;;
- xres) vim ~/.Xresources && xrdb ~/.Xresources ;;
- esac
-}
Please sign in to comment.
Something went wrong with that request. Please try again.