mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 14:44:58 +08:00
Add term config
This commit is contained in:
parent
ae8a37c786
commit
e770affece
2 changed files with 38 additions and 1 deletions
33
.config/alacritty/alacritty.yml
Normal file
33
.config/alacritty/alacritty.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
window:
|
||||
class:
|
||||
instance: Terminal Emulator
|
||||
font:
|
||||
size: 11
|
||||
# colorscheme: Material
|
||||
colors:
|
||||
# Default colors
|
||||
primary:
|
||||
background: '0x263238'
|
||||
foreground: '0xeceff1'
|
||||
# Normal colors
|
||||
normal:
|
||||
black: '0x263238'
|
||||
red: '0xff9800'
|
||||
green: '0x8bc34a'
|
||||
yellow: '0xffc107'
|
||||
blue: '0x03a9f4'
|
||||
magenta: '0xe91e63'
|
||||
cyan: '0x009688'
|
||||
white: '0xcfd8dc'
|
||||
# Bright colors
|
||||
bright:
|
||||
black: '0x37474f'
|
||||
red: '0xffa74d'
|
||||
green: '0x9ccc65'
|
||||
yellow: '0xffa000'
|
||||
blue: '0x81d4fa'
|
||||
magenta: '0xad1457'
|
||||
cyan: '0x26a69a'
|
||||
white: '0xeceff1'
|
||||
selection:
|
||||
save_to_clipboard: false
|
||||
|
|
@ -65,7 +65,11 @@ promptinit
|
|||
autoload -Uz colors
|
||||
colors
|
||||
setopt transient_rprompt # 右提示符只出现一次
|
||||
PROMPT='%F{magenta}%B$(__git_ps1) $(_fish_collapsed_pwd)> %b%f'
|
||||
precmd() {
|
||||
_collapsed_pwd=$(_fish_collapsed_pwd)
|
||||
print -n "\e]0;zsh ( ${_collapsed_pwd} )\a"
|
||||
}
|
||||
PROMPT='%F{magenta}%B$(__git_ps1) ${_collapsed_pwd}> %b%f'
|
||||
RPROMPT='%{$bg[cyan]$fg[white]%} %n@%m %{$reset_color%}'
|
||||
# git <<<-------------------------------
|
||||
source /usr/share/git/completion/git-prompt.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue