From 783f611138bdfe5109587cfeec7b2b112b0a3fe7 Mon Sep 17 00:00:00 2001 From: VectorKappa Date: Mon, 12 Apr 2021 07:46:33 +0000 Subject: [PATCH] 1.6.0 Add zsh --- README.md | 2 +- apt.sh | 7 +++++-- zsh/.aliases | 4 +++- zsh/.zshrc | 25 ++++++++++++------------- 4 files changed, 21 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 843938c..1f167d1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# This is my personal collection of dotfiles, for usage on termux and manjaro (somewhere in future) +# This is my personal collection of dotfiles, for usage on termux and arch ## Use GNU Stow for deploying diff --git a/apt.sh b/apt.sh index ff711cb..c1064d2 100644 --- a/apt.sh +++ b/apt.sh @@ -35,11 +35,14 @@ apt install bash \ yarn \ stow \ man \ - git + git \ + zsh pip install --upgrade pip pip install youtube-dl requests +curl https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh -#TODO: Make a python install script \ No newline at end of file +#TODO: Make a python install script +#TODO: Rewrite for arch \ No newline at end of file diff --git a/zsh/.aliases b/zsh/.aliases index c3f8e83..edbd8c5 100644 --- a/zsh/.aliases +++ b/zsh/.aliases @@ -71,4 +71,6 @@ alias reload="exec $SHELL -l" alias p="ping 1.1.1.1" # Print each PATH entry on a separate line -alias path='echo -e ${PATH//:/\\n}' \ No newline at end of file +alias path='echo -e ${PATH//:/\\n}' + +alias cantbebothered='git add -a && git commit -m $(curl -s http://whatthecommit.com/index.txt | uwuify | cowsay -f $(ls /usr/share/cowsay/cows/ | shuf -n1) | lolcat ) && git push' \ No newline at end of file diff --git a/zsh/.zshrc b/zsh/.zshrc index b1607f3..e31b4e8 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,20 +1,19 @@ source ~/.zplug/init.zsh source ~/.aliases -# Supports oh-my-zsh plugins and the like -zplug "plugins/git", from:oh-my-zsh -zplug "plugins/colored-man-pages", from:oh-my-zsh -zplug "plugins/command-not-found", from:oh-my-zsh -zplug "plugins/web-search", from:oh-my-zsh -zplug "plugins/tmux", from:oh-my-zsh -zplug "plugins/urltools", from:oh-my-zsh -zplug "oldratlee/hacker-quotes" - -zplug "plugins/thefuck", from:oh-my-zsh - -zplug "modules/prompt", from:prezto +zplug "plugins/git", from:oh-my-zsh +zplug "plugins/colored-man-pages", from:oh-my-zsh +zplug "plugins/command-not-found", from:oh-my-zsh +zplug "plugins/web-search", from:oh-my-zsh +zplug "plugins/tmux", from:oh-my-zsh +zplug "plugins/urltools", from:oh-my-zsh +zplug "plugins/thefuck", from:oh-my-zsh # Load completion library for those sweet [tab] squares -zplug "lib/completion", from:oh-my-zsh +zplug "lib/completion", from:oh-my-zsh + +# Misc. visual tweaks +zplug "oldratlee/hacker-quotes" +zplug "modules/prompt", from:prezto # Syntax highlighting for commands, load last zplug "zsh-users/zsh-syntax-highlighting", from:github, defer:3