Update font, fcitx, etc
parent
d2fb5cc841
commit
e50e324428
13
README.md
13
README.md
|
|
@ -2,3 +2,16 @@
|
|||
|
||||
Dotfiles I use on my systems, using [dotbot](https://github.com/anishathalye/dotbot) for management.
|
||||
|
||||
## Requirements
|
||||
|
||||
- `zsh`
|
||||
- `vim`
|
||||
- `fcitx5`
|
||||
- `kitty`
|
||||
- `powerline`
|
||||
- `ttf-hack-nerd`
|
||||
|
||||
## Optional requirements
|
||||
|
||||
- `lsd` (or `eza`)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@ scrollback_lines 10000
|
|||
|
||||
cursor_shape block
|
||||
|
||||
font_family "Source Code Pro"
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
font_family "Hack Nerd Font Mono"
|
||||
bold_font Hack Nerd Font Mono Bold
|
||||
italic_font Hack Nerd Font Mono Italic
|
||||
bold_italic_font Hack Nerd Font Mono Bold Italic
|
||||
font_size 10
|
||||
|
||||
disable_ligatures always
|
||||
|
|
|
|||
28
zshrc
28
zshrc
|
|
@ -4,13 +4,35 @@
|
|||
stty -ixon
|
||||
|
||||
alias fuck='sudo $(fc -l -n -1)'
|
||||
alias ll='ls -lav --color=auto'
|
||||
alias l='ls -lv --color=auto'
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
if command -v lsd >/dev/null 2>&1; then
|
||||
alias ll='lsd -lav'
|
||||
alias l='lsd -lv'
|
||||
alias ls='lsd'
|
||||
elif command -v eza >/dev/null 2>&1; then
|
||||
alias ll='eza -lag'
|
||||
alias l='eza -lg'
|
||||
alias ls='eza'
|
||||
else
|
||||
alias ll='ls -lav --color=auto'
|
||||
alias l='ls -lv --color=auto'
|
||||
alias ls='ls --color=auto'
|
||||
fi
|
||||
|
||||
command -v bat >/dev/null 2>&1 && alias cat='bat'
|
||||
|
||||
powerline-daemon -q
|
||||
. /usr/share/powerline/bindings/zsh/powerline.zsh
|
||||
|
||||
# input method
|
||||
if command -v fcitx5 >/dev/null 2>&1; then
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
export SDL_IM_MODULE=fcitx
|
||||
export GLFW_IM_MODULE=ibus
|
||||
fi
|
||||
|
||||
# The following lines were added by compinstall
|
||||
|
||||
zstyle ':completion:*' completer _complete _ignored
|
||||
|
|
|
|||
Loading…
Reference in New Issue