chore: fedora bashrc changes and user binaries
parent
3a057ab935
commit
daa9c3cf31
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
TYPE=$(gum choose "fix" "feat" "docs" "style" "refactor" "test" "chore" "revert")
|
||||||
|
SCOPE=$(gum input --placeholder "scope")
|
||||||
|
|
||||||
|
# Since the scope is optional, wrap it in parentheses if it has a value.
|
||||||
|
test -n "$SCOPE" && SCOPE="($SCOPE)"
|
||||||
|
|
||||||
|
# Pre-populate the input with the type(scope): so that the user may change it
|
||||||
|
SUMMARY=$(gum input --value "$TYPE$SCOPE: " --placeholder "Summary of this change")
|
||||||
|
DESCRIPTION=$(gum write --placeholder "Details of this change (CTRL+D to finish)")
|
||||||
|
|
||||||
|
# Commit these changes
|
||||||
|
gum confirm "Commit changes?" && git add -A && git commit -m "$SUMMARY" -m "$DESCRIPTION"
|
Binary file not shown.
|
@ -32,9 +32,9 @@ unset rc
|
||||||
|
|
||||||
# PS1=$"\w`whoami`💻`hostname`"$(tput blink)"-> "$(tput sgr0)
|
# PS1=$"\w`whoami`💻`hostname`"$(tput blink)"-> "$(tput sgr0)
|
||||||
|
|
||||||
|
alias q='exit'
|
||||||
alias ls='ls -Alh --color=auto'
|
# alias ls='ls -Alh --color=auto'
|
||||||
alias ls='exa -la'
|
alias ls='exa -lah -snew'
|
||||||
alias di='sudo dnf install'
|
alias di='sudo dnf install'
|
||||||
alias dud='sudo dnf update -y'
|
alias dud='sudo dnf update -y'
|
||||||
alias ds='dnf search'
|
alias ds='dnf search'
|
||||||
|
@ -60,7 +60,6 @@ alias dush='du -sh'
|
||||||
alias docker='sudo docker'
|
alias docker='sudo docker'
|
||||||
alias docker-compose='sudo docker-compose'
|
alias docker-compose='sudo docker-compose'
|
||||||
|
|
||||||
|
|
||||||
alias dcud='sudo docker-compose up -d'
|
alias dcud='sudo docker-compose up -d'
|
||||||
alias dcd='sudo docker-compuse down'
|
alias dcd='sudo docker-compuse down'
|
||||||
alias dcp='sudo docker-compose pull'
|
alias dcp='sudo docker-compose pull'
|
||||||
|
@ -77,9 +76,7 @@ downup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
alias dockerkillall='sudo docker kill $(docker container ls -q)'
|
alias dockerkillall='sudo docker kill $(docker container ls -q)'
|
||||||
alias univpn='cd ~/; ./hullvpn; cd -'
|
|
||||||
alias fld='sudo du -ahx . | sort -rh | head -5' #finds large dirs
|
alias fld='sudo du -ahx . | sort -rh | head -5' #finds large dirs
|
||||||
alias f='fuck'
|
|
||||||
|
|
||||||
alias untar='tar -zxvf' #extract files from archive
|
alias untar='tar -zxvf' #extract files from archive
|
||||||
alias ipe='curl ipinfo.io/ip' #check external ip address
|
alias ipe='curl ipinfo.io/ip' #check external ip address
|
||||||
|
@ -245,30 +242,11 @@ eval "$(starship init bash)"
|
||||||
|
|
||||||
export GPG_TTY=/dev/pts/2
|
export GPG_TTY=/dev/pts/2
|
||||||
|
|
||||||
export NVM_DIR="$HOME/.nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
function gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}
|
function gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}
|
||||||
source /home/ctome/.dvm/dvm.sh
|
|
||||||
export DOTNET_ROOT=$HOME/.dotnet
|
export DOTNET_ROOT=$HOME/.dotnet
|
||||||
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
|
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
|
||||||
|
|
||||||
### Bashhub.com Installation.
|
|
||||||
### This Should be at the EOF. https://bashhub.com/docs
|
|
||||||
if [ -f ~/.bashhub/bashhub.sh ]; then
|
|
||||||
source ~/.bashhub/bashhub.sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
|
||||||
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
|
||||||
eval "$(pyenv init -)"
|
|
||||||
|
|
||||||
|
export PATH=$PATH:$HOME/bin
|
||||||
export EDITOR="vim"
|
export EDITOR="vim"
|
||||||
|
|
||||||
|
|
||||||
# cohost bot things
|
|
||||||
export COOKIE="use the cohost cookie"
|
|
||||||
export LENGTH="8"
|
|
||||||
export LENGTH="9"
|
|
||||||
|
|
Loading…
Reference in New Issue