finished zsh config
This commit is contained in:
+18
-6
@@ -2255,6 +2255,18 @@ alias ftemplate='git fetch template'
|
||||
alias mtemplate='git merge template/master --allow-unrelated-histories'
|
||||
alias log='git log'
|
||||
#+end_src
|
||||
*** ls -> [[https://github.com/eza-community/eza][eza]]
|
||||
#+begin_src shell :tangle pkg-list.txt
|
||||
eza
|
||||
#+end_src
|
||||
#+begin_src shell :tangle ~/alias.sh
|
||||
alias ls='eza --icons -lF --color=always --group-directories-first --git' # my preferred listing
|
||||
alias la='eza --icons -aF --color=always --group-directories-first --git' # all files and dirs
|
||||
alias ll='eza --icons -alF --color=always --group-directories-first --git' # long format
|
||||
alias lt='eza --icons -aTF --color=always --group-directories-first --git' # tree listing
|
||||
alias lx='eza --icons -lF --color=always --group-directories-first --git --extended' # extended info
|
||||
alias l.='eza -a | egrep "^\."' # list dotfiles
|
||||
#+end_src
|
||||
** [[https://www.zsh.org/][ZSH]]
|
||||
*** Installation
|
||||
#+begin_src conf :tangle pkg-list.txt
|
||||
@@ -2312,7 +2324,7 @@ ENABLE_CORRECTION="true"
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/issues/5765
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
#+end_src
|
||||
**** TODO [[https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins][Plugins]]
|
||||
**** [[https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins][Plugins]]
|
||||
***** Dependencies
|
||||
some of the following plugins require dependencies
|
||||
#+begin_src shell :tangle pkg-list.txt
|
||||
@@ -2389,9 +2401,9 @@ plugins=(
|
||||
vi-mode
|
||||
vscode
|
||||
# # non oh-my-zsh plugins
|
||||
# zsh-autosuggestions
|
||||
# zsh-syntax-highlighting
|
||||
# conda-zsh-completion
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
conda-zsh-completion
|
||||
)
|
||||
#+end_src
|
||||
**** [[https://github.com/romkatv/powerlevel10k][Powerlevel10k]]
|
||||
@@ -2427,7 +2439,7 @@ source $ZSH/oh-my-zsh.sh
|
||||
*** Configuration
|
||||
**** Source Aliases
|
||||
#+begin_src shell :tangle ~/.zshrc
|
||||
source alias.sh
|
||||
source ~/alias.sh
|
||||
#+end_src
|
||||
**** Modify PATH
|
||||
#+begin_src shell :tangle ~/.zshrc
|
||||
@@ -2450,7 +2462,7 @@ bash
|
||||
*** Configuration
|
||||
**** Source Aliases
|
||||
#+begin_src shell :tangle ~/.bashrc
|
||||
source alias.sh
|
||||
source ~/alias.sh
|
||||
#+end_src
|
||||
**** Modify PATH
|
||||
#+begin_src shell :tangle ~/.bashrc
|
||||
|
||||
Reference in New Issue
Block a user