Commit Graph

264 Commits

Author SHA1 Message Date
4255fd5b0b add tmux-resurrect plugin 2016-08-04 22:14:53 +02:00
7bcddacb48 amall changes 2016-08-04 21:20:43 +02:00
628c3c3da4 update readme 2016-08-04 21:17:50 +02:00
f61119a556 resize 2016-08-04 21:16:24 +02:00
9d15d4f670 add screenshot 2016-08-04 21:12:11 +02:00
81386e3b1b update readme 2016-08-04 21:03:07 +02:00
e07b8a8bae use ~/.commonrc.local for local changes, proxy etc. 2016-08-04 20:35:43 +02:00
5d4066feaf move .vim/bundle/vim-fugitive to git submodule 2016-08-04 20:27:20 +02:00
2f75ed7a04 move .vim/bundle/vim-fugitive to git submodule 2016-08-04 20:27:05 +02:00
779864d4bf move .vim/bundle/vim-airline to git submodule 2016-08-04 20:25:18 +02:00
81055adbc2 move .vim/bundle/vim-airline to git submodule 2016-08-04 20:24:26 +02:00
bf759b7a67 move .vim/bundle/syntastic to git submodule 2016-08-04 20:23:27 +02:00
8bd3d38123 move .vim/bundle/syntastic to git submodule 2016-08-04 20:21:56 +02:00
d5b0254c52 disable autoupdate 2016-08-04 20:12:36 +02:00
d113f42302 add submodule init on update 2016-08-04 20:12:19 +02:00
4a4e5d18f9 skip .gitmodules file and misc folder 2016-08-04 20:12:03 +02:00
f2f70938da readd Cobalt2 theme 2016-08-04 20:06:53 +02:00
93d66cbd6e Change install instructions and update function to handle git submodules 2016-08-04 19:56:36 +02:00
5ddfbd3938 move .oh-my-zsh to git submodules 2016-08-04 19:51:43 +02:00
5f69b32690 prepare for use oh-my-zsh as git submodule 2016-08-04 19:49:39 +02:00
63010fa2fc Move tmux-plugins (tmux-prefix-highlight, tmux-copycat) to git submodules. 2016-08-04 19:45:45 +02:00
3870e780a4 Tolerate using [] notation when it can still be expressed in dot notation 2016-08-04 19:35:30 +02:00
f3cb171d15 skip dotfiles.sublime-workspace 2016-08-04 19:35:02 +02:00
f26ea4e10f adjust some jshintrc options 2016-07-24 16:18:19 +02:00
270e0175d9 tmux: use R to reorder windows 2016-07-22 19:25:33 +02:00
43ccab1585 test nginx, before try to reload 2016-07-19 21:04:59 +02:00
b8ec5737d5 remove the original header, because there significant changes though the original file now 2016-07-17 15:05:45 +02:00
dbf236c95f ctrl+a to tmux prefix 2016-07-16 16:26:35 +02:00
3025e6908a add syntastic settings 2016-07-16 00:08:31 +02:00
a086383c21 add vim syntastic plugin 2016-07-15 23:51:37 +02:00
b0dd1d08db fix: change directory first 2016-07-15 22:41:59 +02:00
d9baa45b3a update 2016-07-15 22:37:08 +02:00
aadf957fa4 vim: crtl+n to fast toogle beween normal and relative line numbers 2016-07-15 20:50:19 +02:00
9a37ec2cfc revert last commit 2016-07-15 18:55:19 +02:00
f660e610e1 first search @/usr/local/bin/ 2016-07-15 18:52:03 +02:00
66f6e1b568 some ui tweaks on vim listchars 2016-07-15 18:49:45 +02:00
157e6bd194 - change history & undolevel to 1000
- use tabs
- set listchars to show special characters
2016-07-15 17:29:23 +02:00
df1a2f81f5 - vim ui changes: line numbers, hilight cursor line
- add monokai.vim vim colorscheme
2016-07-15 16:41:16 +02:00
dda0c5ff77 - add fugitive.vim
- enable fugitive.vim for vim-airline
2016-07-14 20:45:52 +02:00
dde280c2b8 - add pathogen.vim (https://github.com/tpope/vim-pathogen)
- add vim-airline (https://github.com/vim-airline/vim-airline)
2016-07-14 20:28:29 +02:00
dd967dd0bc fix 2016-07-12 00:04:44 +02:00
54857b2b83 test
## To make a commit, type your commit message and press SUPER-ENTER. To cancel
## the commit, close the window. To sign off on the commit, press SUPER-S.

## You may also reference or close a GitHub issue with this commit.  To do so,
## type `#` followed by the `tab` key.  You will be shown a list of issues
## related to the current repo.  You may also type `owner/repo#` plus the `tab`
## key to reference an issue in a different GitHub repo.

diff --git a/functions b/functions
index 52bf5ee..a8717f3 100644
--- a/functions
+++ b/functions
@@ -3,7 +3,7 @@ udot() {
   info=$(git --no-pager log --pretty="%h by %an <%ae> on %cd" -1 --abbrev-commit)
   local=$(git --no-pager log --pretty="%H" -1)
   remote=$(git ls-remote origin | awk "/HEAD/ {print \$1}")
-  gstatus=$(git status -s)
+  gstatus=$(git status --porcelain)

   echo -e ""
   echo -e '    ____      U  ___ u _____    _____              _     U _____ u ____    '
@@ -17,7 +17,7 @@ udot() {
   echo -e "$info"
   echo -e ""

-  if [ "$status" != "" ]; then
+  if [ -n "$status" ]; then
     echo -e "Local changes:"
     echo -e "$gstatus"
     echo -e ""
2016-07-12 00:03:39 +02:00
2b4c92f174 udot: print local changes 2016-07-12 00:00:48 +02:00
d957f8b776 fix ascii art 2016-07-11 23:44:15 +02:00
90644f07a5 update udot (update dot files) function 2016-07-11 23:27:23 +02:00
f7d7584e57 test 2016-07-11 23:23:31 +02:00
2bbb945791 update gitignore 2016-07-11 20:12:43 +02:00
00d3fee414 update 2016-07-11 20:09:33 +02:00
e3966504cb fix 2016-07-11 20:02:09 +02:00
682dff2da8 add tmux plugin copycat 2016-07-11 20:00:22 +02:00