Compare commits
No commits in common. "fd6d038df7624469eed03e46fd6ea56dde81c32c" and "3d80f86963073b33fdfca1bdeb5cb1fb20a34d54" have entirely different histories.
fd6d038df7
...
3d80f86963
@ -6,8 +6,6 @@ ZSHFOLDER=$HOME/.config/zsh
|
|||||||
CONFIG="$HOME/.config"
|
CONFIG="$HOME/.config"
|
||||||
OHMYZSH="$HOME/.oh-my-zsh"
|
OHMYZSH="$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
mkdir -p $ZSHFOLDER $CONFIG $OHMYZSH
|
|
||||||
|
|
||||||
# Colours
|
# Colours
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;0;32m'
|
GREEN='\033[0;0;32m'
|
||||||
@ -70,13 +68,11 @@ function command_start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function command_exists() {
|
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"
|
timestamp "Command $1 has been found"
|
||||||
else
|
else
|
||||||
err "Command $1 has been NOT found"
|
err "Command $1 has been NOT found"
|
||||||
|
exit 0
|
||||||
# Return false
|
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
8
.zshrc
8
.zshrc
@ -60,7 +60,7 @@ export CCACHE_DIR="/usr/ccache"
|
|||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
export LC_ALL=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 FZF_DEFAULT_OPTS='--height 40% --layout=reverse'
|
||||||
export EIX_LIMIT_COMPACT=0
|
export EIX_LIMIT_COMPACT=0
|
||||||
export TERMINAL="st"
|
export TERMINAL="st"
|
||||||
@ -80,7 +80,7 @@ export PATH=$HOME/node_modules/.bin:$PATH
|
|||||||
export GOPATH=$HOME/golang
|
export GOPATH=$HOME/golang
|
||||||
export PATH=$PATH:$HOME/.gem/ruby/2.6.0/bin
|
export PATH=$PATH:$HOME/.gem/ruby/2.6.0/bin
|
||||||
export PATH=$PATH:$HOME/.cargo/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
|
# History
|
||||||
export HISTTIMEFORMAT="%F %T "
|
export HISTTIMEFORMAT="%F %T "
|
||||||
@ -151,9 +151,6 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
|||||||
alias pip3='/opt/homebrew/bin/pip$PYTHONVERSION'
|
alias pip3='/opt/homebrew/bin/pip$PYTHONVERSION'
|
||||||
alias python='/opt/homebrew/bin/python$PYTHONVERSION'
|
alias python='/opt/homebrew/bin/python$PYTHONVERSION'
|
||||||
alias pip='/opt/homebrew/bin/pip$PYTHONVERSION'
|
alias pip='/opt/homebrew/bin/pip$PYTHONVERSION'
|
||||||
alias sed='gsed'
|
|
||||||
alias zcat='gzcat'
|
|
||||||
alias date='gdate'
|
|
||||||
|
|
||||||
alias lsblk="diskutil list"
|
alias lsblk="diskutil list"
|
||||||
alias Update="~/.local/bin/Update-pkg; brew update; brew upgrade"
|
alias Update="~/.local/bin/Update-pkg; brew update; brew upgrade"
|
||||||
@ -176,7 +173,6 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
|||||||
sort |
|
sort |
|
||||||
tail -n1)
|
tail -n1)
|
||||||
export PATH=$PATH:/opt/homebrew/Cellar/tfenv/$TFENVVERSION/versions/$TFVERSION/
|
export PATH=$PATH:/opt/homebrew/Cellar/tfenv/$TFENVVERSION/versions/$TFVERSION/
|
||||||
unset BROWSER
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Setting the right editor
|
# Setting the right editor
|
||||||
|
Loading…
Reference in New Issue
Block a user