📝 Modified many scripts
This commit is contained in:
parent
b9933b8e61
commit
4e9b03e828
3 changed files with 3 additions and 3 deletions
2
aliases
2
aliases
|
|
@ -163,7 +163,7 @@ alias {sub,subreddit,subrd}="tuir -s"
|
|||
alias qwiki="wik -i"
|
||||
alias toolongdidntread="tldr"
|
||||
alias cheatsheet="cheat"
|
||||
alias {trans,translate}="ltranslate"
|
||||
alias {ltrans,trans,translate}="ltranslate"
|
||||
|
||||
# gif recording, peek doesn't work right now...
|
||||
# help for this can be hard, use byzanz-record --help for more info, use silentcast to find x and y dimensions
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ HISTTIMEFORMAT="%d/%m/%y %T "
|
|||
|
||||
# Displays current git branch if there is any and also styles bash prompt
|
||||
# export PS1='\[\033[01;34m\][\u@\h\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;34m└─>\033[37m '
|
||||
export PS1='\[\033[01;34m\][\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\033[01;34m\033[37m'
|
||||
export PS1='\[\033[01;34m\][\[\033[01;37m\] \W\[\033[01;34m\]]\$\033[01;34m\] $(git branch 2>/dev/null | grep '^*' | colrm 1 2)\n\033[01;34m└─>\033[37m '
|
||||
# Configure thefuck
|
||||
eval "$(thefuck --alias)"
|
||||
export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin:/home/brian/.local/share/nvim/lsp_servers:/home/brian/.cargo/bin"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ dependencycheck() {
|
|||
missingdependencies=0
|
||||
for ((i = 0; i < numdependencies; i++)) ; do
|
||||
if ! command -v "${dependencies[$i]}" &> /dev/null ; then
|
||||
printf "dependency not met: %s" "${dependencies[$i]}"
|
||||
printf "dependency not met: %s\n" "${dependencies[$i]}"
|
||||
missingdependencies=$((missingdependencies+1))
|
||||
fi
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue