Skip to content

Commit

Permalink
add lolcat, shorten git autocorr, exit discord install script if not …
Browse files Browse the repository at this point in the history
…sudo
  • Loading branch information
MaxWolf-01 committed Apr 11, 2024
1 parent ca48d65 commit 6b3cbaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion git/gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
binary = true

[help]
autocorrect = 10
autocorrect = 5

[branch]
sort = -committerdate
Expand Down
2 changes: 1 addition & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ discord() { # will setup discord and betterdiscord on first run, update both on
if ! command -v npm &> /dev/null || ! command -v pnpm &> /dev/null; then echo "npm or pnpm not found. Run './setup install_nodejs'"; return; fi
cd ~/repos/tools || echo "Error: $HOME/repos/tools does not exist" || exit 1
if [ -d ~/repos/tools/BetterDiscord ]; then cd BetterDiscord && git pull; else git clone https://github.com/BetterDiscord/BetterDiscord.git && cd BetterDiscord; fi; # get latest betterdiscord
wget -O discord.deb "https://discord.com/api/download?platform=linux&format=deb" && sudo dpkg -i discord.deb && rm discord.deb # get latest discord
wget -O discord.deb "https://discord.com/api/download?platform=linux&format=deb" && sudo dpkg -i discord.deb && rm discord.deb || exit # get latest discord
pnpm install && pnpm build && pnpm inject
find ~/.dotfiles/desktop/discord/themes -type f -exec ln -sf {} ~/.config/BetterDiscord/themes/ \;
wget https://discordstyles.github.io/DarkMatter/DarkMatter.theme.css -O ~/.config/BetterDiscord/themes/DarkMatter.theme.css
Expand Down
2 changes: 2 additions & 0 deletions zsh/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ alias myip='curl ifconfig.me'
alias ipa='ip -c a'
alias ipr='ip -c r'

alias lc='lolcat'

# conda #
#########
alias mkenv='mamba create --name'
Expand Down

0 comments on commit 6b3cbaa

Please sign in to comment.