Browse Source

Removed desktop screenshot from README

Also added git function to cherry-pick commits.
red-hat-laptop
Kevin Mok 6 years ago
parent
commit
80a28c6a48
  1. 5
      README.md
  2. 18
      aliases/zsh_aliases

5
README.md

@ -1,13 +1,8 @@
<!--- Intro {{{ -->
# Kevin's Linux Setup
<!--- pictures {{{ -->
![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.*
<!--- }}} pictures -->
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.

18
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() {

Loading…
Cancel
Save