mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-07-27 04:33:17 +02:00
added some new commands, added mimeapps.list
This commit is contained in:
@@ -24,6 +24,7 @@ alias efupdate="dotnet ef database update"
|
||||
alias efmigrate="dotnet ef migrations add"
|
||||
alias efremove="dotnet ef migrations remove"
|
||||
alias dotnetnew="dotnet new webapi -o "
|
||||
alias nuget-force-clear-cache="nuget locals all -clear && nuget locals all -list | awk '{split($0,a,\": \"); print a[2];}' | xargs rm -rf"
|
||||
|
||||
# git
|
||||
alias gitremovelocalbranches='git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d'
|
||||
@@ -64,6 +65,8 @@ alias clean-all='clean-trash && clean-journal && clean-pacmancache && docker-cle
|
||||
alias dotnet-install='~/.dotnet-install.sh --install-dir /usr/share/dotnet/ -channel Current -version '
|
||||
alias mountshares='sudo bash ~/dotfiles/bash/mounts.sh'
|
||||
alias echo-server='npx http-echo-server'
|
||||
alias mountcalibre='sudo mount.cifs //10.10.1.11/books /mnt/calibre -o nobrl,user=mastermindzh,noperm,rw'
|
||||
alias xpid="xprop _NET_WM_PID | cut -d' ' -f3"
|
||||
|
||||
# might be useful in demos...
|
||||
alias oopsie='fuck'
|
||||
@@ -101,6 +104,7 @@ alias tree='tree --dirsfirst'
|
||||
alias handbrake='ghb'
|
||||
alias cal='cal -mw --color'
|
||||
alias chrome='google-chrome-stable'
|
||||
alias teams='teams-insiders --disable-seccomp-filter-sandbox'
|
||||
|
||||
# grub
|
||||
alias update-grub='grub-mkconfig -o /boot/grub/grub.cfg'
|
||||
|
@@ -20,6 +20,7 @@ sourceIfExists ~/lib/azure-cli/az.completion
|
||||
eval "$(thefuck --alias)"
|
||||
|
||||
# evals
|
||||
eval $(keychain --eval --quiet ~/.ssh/id_rsa)
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -61,6 +61,16 @@ declare -A MOUNTS7=(
|
||||
[share]='nvme1'
|
||||
[mount]='nvme1'
|
||||
)
|
||||
declare -A MOUNTS8=(
|
||||
[server]="$MY_SERVER_LOCATION"
|
||||
[share]="downloads"
|
||||
[mount]="downloads"
|
||||
)
|
||||
declare -A MOUNTS9=(
|
||||
[server]="$MY_SERVER_LOCATION"
|
||||
[share]="emulation"
|
||||
[mount]="emulation"
|
||||
)
|
||||
# declare array with "objects"
|
||||
declare -n MOUNTS
|
||||
|
||||
|
Reference in New Issue
Block a user