Compare commits

..

No commits in common. "fd6d038df7624469eed03e46fd6ea56dde81c32c" and "3d80f86963073b33fdfca1bdeb5cb1fb20a34d54" have entirely different histories.

2 changed files with 4 additions and 12 deletions

View File

@ -6,8 +6,6 @@ ZSHFOLDER=$HOME/.config/zsh
CONFIG="$HOME/.config"
OHMYZSH="$HOME/.oh-my-zsh"
mkdir -p $ZSHFOLDER $CONFIG $OHMYZSH
# Colours
RED='\033[0;31m'
GREEN='\033[0;0;32m'
@ -70,13 +68,11 @@ function command_start() {
}
function command_exists() {
if command -v "$1" > /dev/null 2>&1; then
if which "$1" > /dev/null 2>&1; then
timestamp "Command $1 has been found"
else
err "Command $1 has been NOT found"
# Return false
return 1
exit 0
fi
}

8
.zshrc
View File

@ -60,7 +60,7 @@ export CCACHE_DIR="/usr/ccache"
export LC_ALL="en_US.UTF-8"
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export BROWSER=$HOME/.local/bin/browser-x
export BROWSER=/home/yorune/.local/bin/browser-x
export FZF_DEFAULT_OPTS='--height 40% --layout=reverse'
export EIX_LIMIT_COMPACT=0
export TERMINAL="st"
@ -80,7 +80,7 @@ export PATH=$HOME/node_modules/.bin:$PATH
export GOPATH=$HOME/golang
export PATH=$PATH:$HOME/.gem/ruby/2.6.0/bin
export PATH=$PATH:$HOME/.cargo/bin
[ -d $HOME/git/fortigate/bin ] && export PATH=$HOME/git/fortigate/bin:$PATH
[ -d $HOME/repo/fortigate/bin ] && export PATH=$HOME/repo/fortigate/bin:$PATH
# History
export HISTTIMEFORMAT="%F %T "
@ -151,9 +151,6 @@ if [[ "$(uname)" == "Darwin" ]]; then
alias pip3='/opt/homebrew/bin/pip$PYTHONVERSION'
alias python='/opt/homebrew/bin/python$PYTHONVERSION'
alias pip='/opt/homebrew/bin/pip$PYTHONVERSION'
alias sed='gsed'
alias zcat='gzcat'
alias date='gdate'
alias lsblk="diskutil list"
alias Update="~/.local/bin/Update-pkg; brew update; brew upgrade"
@ -176,7 +173,6 @@ if [[ "$(uname)" == "Darwin" ]]; then
sort |
tail -n1)
export PATH=$PATH:/opt/homebrew/Cellar/tfenv/$TFENVVERSION/versions/$TFVERSION/
unset BROWSER
fi
# Setting the right editor