-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
36 additions
and
166 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,17 +21,12 @@ function install_brew { | |
if [[ ! $exists ]]; then | ||
echo "No brew installation found, installing..." | ||
runcmd /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
runcmd brew update && brew upgrade | ||
else | ||
echo "brew is installed, nothing to do here..." | ||
fi | ||
} | ||
|
||
# Function to install yabai | ||
function install_yabai { | ||
runcmd brew install koekeishiya/formulae/yabai | ||
runcmd yabai --start-service | ||
} | ||
|
||
# Function to install skhd | ||
function install_skhd { | ||
runcmd brew install koekeishiya/formulae/skhd | ||
|
@@ -46,9 +41,8 @@ function install_ansible { | |
|
||
# Function to install Python | ||
function install_python { | ||
runcmd brew install python3 | ||
runcmd curl -O https://bootstrap.pypa.io/get-pip.py | ||
sudo python3 get-pip.py | ||
runcmd brew install [email protected] | ||
runcmd /bin/bash -c "curl -O https://bootstrap.pypa.io/get-pip.py" | ||
} | ||
|
||
# Function to install various packages | ||
|
@@ -62,12 +56,24 @@ function install_packages { | |
fzf \ | ||
go-task \ | ||
tree \ | ||
exa \ | ||
nvm \ | ||
xz \ | ||
go \ | ||
openjdk \ | ||
tfenv \ | ||
helm \ | ||
helmfile \ | ||
kubectx \ | ||
kubectl \ | ||
sops \ | ||
docker \ | ||
docker-compose \ | ||
colima \ | ||
docker-credential-helper \ | ||
aylei/tap/kubectl-debug \ | ||
git-delta \ | ||
git-absorb \ | ||
shellcheck \ | ||
awscli \ | ||
hadolint \ | ||
aquasecurity/trivy/trivy \ | ||
figlet \ | ||
|
@@ -77,13 +83,17 @@ function install_packages { | |
ansible \ | ||
derailed/k9s/k9s | ||
|
||
# runcmd "$(curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin)" | ||
} | ||
|
||
# Function to install Terraform | ||
function install_kitty { | ||
runcmd /bin/bash -c "$(curl -fsSL https://sw.kovidgoyal.net/kitty/installer.sh)" | ||
} | ||
|
||
# Function to install Terraform | ||
function install_terraform { | ||
runcmd brew tap hashicorp/tap | ||
runcmd hashicorp/tap/terraform | ||
runcmd brew install hashicorp/tap/terraform | ||
} | ||
|
||
# Function to set up dotfiles | ||
|
@@ -129,10 +139,15 @@ function setup_config_files { | |
install_brew | ||
install_packages | ||
install_skhd | ||
# install_kitty | ||
install_terraform | ||
install_python | ||
install_ansible | ||
|
||
|
||
# Additional setup steps | ||
setup_dotfiles | ||
setup_directories | ||
# setup_directories | ||
setup_config_files | ||
|
||
|
||
|
@@ -143,3 +158,6 @@ setup_config_files | |
# runcmd skhd --restart-service | ||
# runcmd yabai --restart-service | ||
# } | ||
|
||
|
||
echo "completed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[user] | ||
signingkey = 9BD85959AC85D213 | ||
signingkey = 2F1EE7CDC451C403 | ||
name = Prabesh Thapa | ||
email = [email protected] | ||
[commit] | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters