aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bash/.bashrc21
-rw-r--r--vim/.vimrc2
-rw-r--r--xorg/.Xresources7
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
8export PS1='[\d][\t]\u on \h\n\w => ' 8export PS1='[\d][\t]\u on \h\n\w => '
9export TERM="xterm-256color"
10 9
11export PATH="$PATH:$HOME/.local/bin" 10export PATH="$PATH:$HOME/.local/bin"
12export PATH="$PATH:$HOME/.local/usr/bin" 11export 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
43vim() {
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
54if exists mpv; then 43if 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
60if exists vim; then 49if 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 }
62fi 61fi
63 62
64if exists go; then 63if exists go; then
diff --git a/vim/.vimrc b/vim/.vimrc
index 2e30251..081ccc7 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -43,3 +43,5 @@ noremap <Left> ""
43noremap! <Left> <Esc> 43noremap! <Left> <Esc>
44noremap <Right> "" 44noremap <Right> ""
45noremap! <Right> <Esc> 45noremap! <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
43XTerm*termName: xterm-256color
43XTerm*selectToClipboard: true 44XTerm*selectToClipboard: true
44XTerm*metaSendsEscape: true 45XTerm*metaSendsEscape: true