This commit is contained in:
Rick van Lieshout 2018-08-15 18:42:11 +02:00
commit 8d6fb1bf62
4 changed files with 9 additions and 6 deletions

View File

@ -26,15 +26,10 @@ alias internalip=$'ip route get 8.8.8.8 | awk \'NR==1 {print $NF}\''
#show 5 most memory consuming apps #show 5 most memory consuming apps
alias psmem='ps auxf | sort -nr -k 5 | head -n 5' alias psmem='ps auxf | sort -nr -k 5 | head -n 5'
#git
alias gitdiff='git diff --name-only --diff-filter=U'
alias status='git status'
alias push='git push'
alias add='git add .'
#dotnet core #dotnet core
alias efupdate="dotnet ef database update" alias efupdate="dotnet ef database update"
alias efmigrate="dotnet ef migrations add" alias efmigrate="dotnet ef migrations add"
alias dotnetnew="dotnet new webapi -o "
##utility ##utility
alias nmapscan='nmap -n -sP' alias nmapscan='nmap -n -sP'

View File

@ -3,3 +3,7 @@
name = Mastermindzh name = Mastermindzh
[alias] [alias]
tree = log --graph --decorate --pretty=format:'%ar [%h] %an <%ae> - %s' tree = log --graph --decorate --pretty=format:'%ar [%h] %an <%ae> - %s'
graph = log --graph --pretty=format:'%C(bold)%h%Creset%C(magenta)%d%Creset %s %C(yellow)<%an> %C(cyan)(%cr)%Creset' --abbrev-commit --date=relative
stats = !git graph --stat
pushall = !git remote | xargs -L1 git push --all
diffname = !git diff --name-only

3
config/.npmrc Normal file
View File

@ -0,0 +1,3 @@
init.author.name=Rick van Lieshout
init.author.email=info@rickvanlieshout.com
init.author.url=http://rickvanlieshout.com

View File

@ -95,6 +95,7 @@ function install_config {
mkdir -p ~/.config/rofi mkdir -p ~/.config/rofi
ln -sf "$PWD"/config/rofi ~/.config/rofi/config ln -sf "$PWD"/config/rofi ~/.config/rofi/config
ln -sf "$PWD"/config/.gitconfig ~/.gitconfig ln -sf "$PWD"/config/.gitconfig ~/.gitconfig
ln -sf "$PWD"/config/.npmrc ~/.npmrc
# link system files # link system files
sudo ln -sf "$PWD"/config/package-managers/pacman.conf /etc/pacman.conf sudo ln -sf "$PWD"/config/package-managers/pacman.conf /etc/pacman.conf