update
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
export PATH="$HOME/bin:/usr/local/bin:$HOME/.cargo/bin:$HOME/.npm/bin:$PATH"
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
#export ZSH="$HOME/.oh-my-zsh"
|
||||
ZSH=/usr/share/oh-my-zsh/
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
@@ -74,12 +75,12 @@ ZSH_THEME="zhann"
|
||||
plugins=(
|
||||
git
|
||||
sudo
|
||||
F-Sy-H
|
||||
zsh-256color
|
||||
zsh-syntax-highlighting
|
||||
zsh-autosuggestions
|
||||
history-substring-search
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
@@ -122,11 +123,12 @@ alias noproxy="export all_proxy=''" # cancel proxy mode
|
||||
alias dotdrop="dotdrop --cfg=~/.dotfiles/config.yaml"
|
||||
|
||||
# config file shortcut
|
||||
alias ls="eza"
|
||||
|
||||
alias vim="nvim"
|
||||
alias vhypr="vim ~/.config/hypr/hyprland.conf" # edit hyprland config
|
||||
alias vzsh="vim ~/.zshrc" # edit zsh config
|
||||
alias szsh="source ~/.zshrc" # source the zshrc file
|
||||
alias hyprloadreload="curl -sSL https://raw.githubusercontent.com/Duckonaut/hyprload/main/install.sh | bash"
|
||||
|
||||
alias aria="aria2c -c -s16 -x16 -k1M"
|
||||
|
||||
@@ -143,14 +145,11 @@ alias nucwl="wlfreerdp /u:752549025@qq.com /p:nebkij-xevkec-Zyvha9 /v:43.249.192
|
||||
alias gup="git pull --rebase"
|
||||
alias gall="git add . && git commit -a -m 'update' && git push"
|
||||
|
||||
# install software
|
||||
alias installpac="sudo pacman -S archlinuxcn-keyring yay paru zsh curl \
|
||||
hyprland xdg-desktop-portal-hyprland \
|
||||
kitty dunst swaylock-effects udiskie \
|
||||
polkit-kde-agent wofi waybar-hyprland-git sddm btop \
|
||||
ttf-jetbrains-mono-nerd noto-fonts-emoji wqy-zenhei wqy-microhei wqy-microhei-lite wqy-bitmapfont \
|
||||
alsa-utils pulseaudio pamixer pavucontrol blueman network-manager-applet \
|
||||
fcitx5 fcitx5-rime fcitx5-chinese-addons fcitx5-material-color fcitx5-configtool \
|
||||
obsidian neofetch notion-app-enhanced vscodium-bin "
|
||||
alias installyay="yay -S google-chrome dotdrop swww wlogout logseq-desktop-wayland-bin anytype-bin"
|
||||
ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh
|
||||
if [[ ! -d $ZSH_CACHE_DIR ]]; then
|
||||
mkdir $ZSH_CACHE_DIR
|
||||
fi
|
||||
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
#source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
Reference in New Issue
Block a user