mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-22 14:53:58 +01:00
Merge branch 'master' of https://github.com/mastermindzh/dotfiles
This commit is contained in:
commit
8d6fb1bf62
@ -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'
|
||||||
|
@ -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
3
config/.npmrc
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
init.author.name=Rick van Lieshout
|
||||||
|
init.author.email=info@rickvanlieshout.com
|
||||||
|
init.author.url=http://rickvanlieshout.com
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user