diff --git a/README.md b/README.md index 0ac23fa..bdff68e 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,8 @@ # Kevin's Linux Setup - -![desktop-screenshot](https://i.imgur.com/mbu9aYf.png) -*Screenshot from my dual-monitor desktop config.* - ![laptop-screenshot](https://i.imgur.com/UpdX90A.png) *Screenshot from my laptop config.* - This repository contains the dotfiles for my Linux [rice](https://www.reddit.com/r/unixporn/comments/3iy3wd/stupid_question_what_is_ricing/cukxwog/) and also help to increase my workflow efficiency significantly. diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index d5a852d..0474c84 100644 --- a/aliases/zsh_aliases +++ b/aliases/zsh_aliases @@ -251,12 +251,13 @@ alias crm="mrk README.md" function gcho() { git checkout $1 ; } function gcln() { git clone $1 ; } -function gremotes() { - git remote set-url --add --push origin $1 - git remote set-url --add --push origin $2 -} +# assume file is changed +function gunc() { git update-index --assume-unchanged $1 ; } + +# only take certain commit from branch +function gchp() { git cherry-pick $1 ; } -# gmrgr: merge repos {{{ # +# merge repos {{{ # function gmrgr() { # 1 = remote name, 2 = remote path git remote add $1 $2 @@ -267,7 +268,12 @@ function gmrgr() { } # }}} merge repos # -function gunc() { git update-index --assume-unchanged $1 ; } +# add multiple remotes {{{ # +function gremotes() { + git remote set-url --add --push origin $1 + git remote set-url --add --push origin $2 +} +# }}} add multiple remotes # # pull all {{{ # function gpla() {