added some new commands, added mimeapps.list

This commit is contained in:
2022-03-07 14:00:00 +01:00
parent 189cc57b20
commit c73d598f17
9 changed files with 695 additions and 124 deletions

View File

@@ -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'

View File

@@ -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

View File

@@ -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