-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reorganizing bash scripts and functions
- Loading branch information
Showing
8 changed files
with
48 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,3 @@ lushtags | |
|
||
vim/haskellmode.config | ||
vim/.netrwhist | ||
|
||
secret-vars.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
secret-vars.sh |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
function sourceFns () { | ||
local DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
[ -f $DIR/ngen.sh ] && source $DIR/ngen.sh | ||
[ -f $DIR/window.sh ] && source $DIR/window.sh | ||
} | ||
|
||
sourceFns |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
. ~/dotfiles/functions-ngen.sh | ||
|
||
function st | ||
{ | ||
local title=$1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Git | ||
alias ga='git add' | ||
alias gp='git push' | ||
alias gl='git log' | ||
alias gs='git status --ignore-submodules -s' | ||
alias gd='git diff' | ||
alias gdc='git diff --cached' | ||
alias gm='git commit -m' | ||
alias gma='git commit -am' | ||
alias gb='git branch' | ||
alias gc='git checkout' | ||
alias gra='git remote add' | ||
alias grr='git remote rm' | ||
alias gpu='git pull --rebase' | ||
alias gcl='git clone' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters