Compare commits
No commits in common. "f1bf681d0ac038ec19806cd4350e49dc8d146282" and "f3ec2e885996f3653f6386ea664093474478898c" have entirely different histories.
f1bf681d0a
...
f3ec2e8859
1
.gitignore
vendored
1
.gitignore
vendored
@ -277,4 +277,3 @@ golang
|
||||
.dlv
|
||||
Cisco Packet Tracer 8.0.0
|
||||
.local/bin/kubectl
|
||||
.rustup
|
||||
|
@ -51,15 +51,6 @@ function command_start() {
|
||||
timestamp "Command $* has been ended."
|
||||
}
|
||||
|
||||
function command_exists() {
|
||||
if which "$1" > /dev/null 2>&1; then
|
||||
timestamp "Command $1 has been found"
|
||||
else
|
||||
err "Command $1 has been NOT found"
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
||||
function update_pip() {
|
||||
# Update the pip
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
@ -293,14 +284,6 @@ function install_kubernetes() {
|
||||
fi
|
||||
}
|
||||
|
||||
function install_rust() {
|
||||
if command_exists rustc; then
|
||||
rustup update
|
||||
else
|
||||
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
|
||||
fi
|
||||
}
|
||||
|
||||
function main() {
|
||||
command_start update_pip
|
||||
command_start install_neovim_module_for_python
|
||||
@ -328,7 +311,6 @@ function main() {
|
||||
command_start install_speedtest
|
||||
command_start install_gh_cli
|
||||
command_start install_kubernetes
|
||||
command_start install_rust
|
||||
command_start update
|
||||
}
|
||||
|
||||
|
1
.zshrc
1
.zshrc
@ -79,7 +79,6 @@ export PATH=$HOME/.local/bin:$PATH
|
||||
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/repo/fortigate/bin ] && export PATH=$HOME/repo/fortigate/bin:$PATH
|
||||
|
||||
# History
|
||||
|
Loading…
Reference in New Issue
Block a user