cswimr/home
Archived
Template
1
0
Fork 0

Compare commits

..

3 commits

Author SHA1 Message Date
d67aebaa73
added notes section to the README 2024-07-10 12:19:11 -04:00
e9c6d85914
minor change to zshconfig alias 2024-07-10 12:19:02 -04:00
8923909e7f
add systemd plugin 2024-07-10 12:18:48 -04:00
3 changed files with 9 additions and 2 deletions

View file

@ -3,8 +3,8 @@ alias wtf="navi"
alias help="navi"
alias rzsh="source ~/.zshrc && echo 'Successfully reloaded zsh!'"
alias aliases="nvim $ZSH_CUSTOM/aliases.zsh && rzsh"
alias zshconfig="nvim ~/.zshrc && rzsh"
alias zshrc="nvim ~/.zshrc && rzsh"
alias zshconfig="zshrc"
alias ohmyzsh="nvim ~/.oh-my-zsh && rzsh"
alias vi="nvim"
alias vim="nvim"

2
.zshrc
View file

@ -70,7 +70,7 @@ ZSH_CUSTOM=$HOME/.zshc
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git colored-man-pages colorize command-not-found cp pyenv pip python virtualenv virtualenvwrapper poetry-env archlinux appup fast-syntax-highlighting)
plugins=(git colored-man-pages colorize command-not-found cp pyenv pip python virtualenv virtualenvwrapper poetry-env systemd archlinux appup fast-syntax-highlighting)
fpath+="${ZSH_CUSTOM:-"$ZSH/custom"}/plugins/zsh-completions/src"
source $ZSH/oh-my-zsh.sh

View file

@ -13,3 +13,10 @@ Or, if you've already cloned the repository, initialize the submodules with the
```sh
git submodules update --recursive
```
## Notes
- `.zshc/aliases.sh` contains aliases for `nano`, `vim`, and `vi`. If you use any of these editors, you may want to change these aliases before reloading your shell.
- If you are not an Arch Linux user, you will want to change the following things:
- `.zshc/aliases.sh`: Remove the `aur` alias.
- `.zhsrc`: Replace the `archlinux` plugin with the [oh-my-zsh plugin(s) for your distrubtion](https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins-Overview#distro-related).