diff options
| -rw-r--r-- | bash/.bashrc | 21 | ||||
| -rw-r--r-- | vim/.vimrc | 2 | ||||
| -rw-r--r-- | xorg/.Xresources | 7 |
3 files changed, 16 insertions, 14 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index b2b81ab..3fe1503 100644 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | [[ $- != *i* ]] && return | 6 | [[ $- != *i* ]] && return |
| 7 | 7 | ||
| 8 | export PS1='[\d][\t]\u on \h\n\w => ' | 8 | export PS1='[\d][\t]\u on \h\n\w => ' |
| 9 | export TERM="xterm-256color" | ||
| 10 | 9 | ||
| 11 | export PATH="$PATH:$HOME/.local/bin" | 10 | export PATH="$PATH:$HOME/.local/bin" |
| 12 | export PATH="$PATH:$HOME/.local/usr/bin" | 11 | export PATH="$PATH:$HOME/.local/usr/bin" |
| @@ -40,16 +39,6 @@ exists() { | |||
| 40 | hash $@ 2> /dev/null | 39 | hash $@ 2> /dev/null |
| 41 | } | 40 | } |
| 42 | 41 | ||
| 43 | vim() { | ||
| 44 | if [[ -z $@ ]]; then | ||
| 45 | $usr/bin/vim | ||
| 46 | elif [[ -d $@ ]]; then | ||
| 47 | dir=$(pwd) | ||
| 48 | cd $@ && $usr/bin/vim && cd $dir | ||
| 49 | else | ||
| 50 | $usr/bin/vim $@ | ||
| 51 | fi | ||
| 52 | } | ||
| 53 | 42 | ||
| 54 | if exists mpv; then | 43 | if exists mpv; then |
| 55 | alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream' | 44 | alias jblive='mpv rtmp://videocdn-us.geocdn.scaleengine.net/jblive/live/jblive.stream' |
| @@ -59,6 +48,16 @@ fi | |||
| 59 | 48 | ||
| 60 | if exists vim; then | 49 | if exists vim; then |
| 61 | export EDITOR="vim" | 50 | export EDITOR="vim" |
| 51 | vim() { | ||
| 52 | if [[ -z $@ ]]; then | ||
| 53 | $usr/bin/vim | ||
| 54 | elif [[ -d $@ ]]; then | ||
| 55 | dir=$(pwd) | ||
| 56 | cd $@ && $usr/bin/vim && cd $dir | ||
| 57 | else | ||
| 58 | $usr/bin/vim $@ | ||
| 59 | fi | ||
| 60 | } | ||
| 62 | fi | 61 | fi |
| 63 | 62 | ||
| 64 | if exists go; then | 63 | if exists go; then |
| @@ -43,3 +43,5 @@ noremap <Left> "" | |||
| 43 | noremap! <Left> <Esc> | 43 | noremap! <Left> <Esc> |
| 44 | noremap <Right> "" | 44 | noremap <Right> "" |
| 45 | noremap! <Right> <Esc> | 45 | noremap! <Right> <Esc> |
| 46 | |||
| 47 | " vim: set ts=8 sw=8 tw=78 noet : | ||
diff --git a/xorg/.Xresources b/xorg/.Xresources index dfc0343..c5cb6c7 100644 --- a/xorg/.Xresources +++ b/xorg/.Xresources | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | !*dpi: 145 | 1 | !*dpi: 145 |
| 2 | 2 | ||
| 3 | ! Font and Fontsize | 3 | ! Font and Fontsize |
| 4 | *faceName: Droid Sans Mono | 4 | *faceName: Monospace |
| 5 | *faceSize: 11 | 5 | *faceSize: 10 |
| 6 | 6 | ||
| 7 | ! Colors | 7 | ! Colors |
| 8 | *background: #2d2d2d | 8 | *background: #2d2d2d |
| @@ -36,9 +36,10 @@ | |||
| 36 | *color6: #3cb691 | 36 | *color6: #3cb691 |
| 37 | *color14: #53b4bd | 37 | *color14: #53b4bd |
| 38 | 38 | ||
| 39 | !Whites | 39 | ! Whites |
| 40 | *color7: #d9d9d9 | 40 | *color7: #d9d9d9 |
| 41 | *color15: #f9f9f9 | 41 | *color15: #f9f9f9 |
| 42 | 42 | ||
| 43 | XTerm*termName: xterm-256color | ||
| 43 | XTerm*selectToClipboard: true | 44 | XTerm*selectToClipboard: true |
| 44 | XTerm*metaSendsEscape: true | 45 | XTerm*metaSendsEscape: true |
