This file contains hidden or 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
#!/usr/bin/env bash | |
# # Do sudo first | |
# sudo -v | |
# # Check if the user has sudo privellages | |
# sudo -n true | |
# sudo_status=$? | |
# if [ $sudo_status -ne 0 ]; then | |
# echo 'Root-like/Sudo access is required.' |
This file contains hidden or 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
#!/usr/bin/env bash | |
sudo --validate | |
# Part 1 | |
sudo dnf update -y | |
sudo dnf groupinstall -y 'Development Tools' | |
sudo dnf install -y procps-ng curl file git lsd | |
# Part 2 | |
if [ ! -d /home/linuxbrew ]; then |
This file contains hidden or 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
#!/usr/bin/fish | |
# You can add this to your ~/.config/fish/config.fish | |
function __fish_complete_bash | |
set cmd (commandline -cp) | |
bash -c "source get-bash-completions.sh; get_completions '$cmd'" | |
end | |
# Set the tool to use bash completions |