Compare commits
3 Commits
75565047ec
...
5a4c5787ac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a4c5787ac
|
||
|
|
9979f47394
|
||
|
|
3a4d0db956
|
15
.config/yadm/bootstrap.d/python3.sh
Executable file
15
.config/yadm/bootstrap.d/python3.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
if ! command -v python3 &> /dev/null; then
|
||||||
|
echo 'Installing python3'
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install python3 -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'python3 is installed'
|
||||||
|
|
||||||
|
if ! command -v pip3 &> /dev/null; then
|
||||||
|
echo 'Installing pip3'
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install python3-pip -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'pip3 is installed'
|
||||||
7
.config/yadm/bootstrap.d/thefuck.sh
Executable file
7
.config/yadm/bootstrap.d/thefuck.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
if ! command -v thefuck &> /dev/null; then
|
||||||
|
bash $(dirname "$0")/python3.sh
|
||||||
|
echo 'Installing thefuck'
|
||||||
|
sudo pip install thefuck
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 'thefuck is installed'
|
||||||
12
.zshrc
12
.zshrc
@@ -5,18 +5,6 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
|||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Intel (Rosetta 2) Homebrew
|
|
||||||
alias ibrew='arch -x86_64 /usr/local/bin/brew'
|
|
||||||
|
|
||||||
# Refresh Proxy Audio Device
|
|
||||||
alias proxy-audio="sudo launchctl kickstart -k system/com.apple.audio.coreaudiod"
|
|
||||||
|
|
||||||
# Run script that reloads coreaudio
|
|
||||||
alias ka='zsh /Users/porridge/kill.sh'
|
|
||||||
|
|
||||||
# To get GPG signing to work on macOS
|
|
||||||
# export GPG_TTY=$(tty)
|
|
||||||
|
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
|
||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||||
|
|||||||
Reference in New Issue
Block a user