nvim, zshrc, oh-my-zsh config update
This commit is contained in:
parent
9da067ae90
commit
ed72b5ab86
@ -3,10 +3,10 @@ set showmatch
|
||||
set ignorecase
|
||||
set hlsearch
|
||||
set incsearch
|
||||
set tabstop=4
|
||||
set softtabstop=4
|
||||
set tabstop=2
|
||||
set softtabstop=2
|
||||
set expandtab
|
||||
set shiftwidth=4
|
||||
set shiftwidth=2
|
||||
set autoindent
|
||||
set number
|
||||
set wildmode=longest,list
|
||||
|
12
config/oh-my-zsh/themes/frisky.zsh-theme
Normal file
12
config/oh-my-zsh/themes/frisky.zsh-theme
Normal file
@ -0,0 +1,12 @@
|
||||
PROMPT=$'
|
||||
%{$fg[blue]%}%/%{$reset_color%} $(git_prompt_info)$(bzr_prompt_info)%{$fg[white]%}[%n@%m]%{$reset_color%} %{$fg[white]%}[%T]%{$reset_color%}
|
||||
%{$fg_bold[black]%} 𝝺%{$reset_color%} '
|
||||
|
||||
PROMPT2="%{$fg_bold[black]%}%_𝝺 %{$reset_color%}"
|
||||
|
||||
GIT_CB="git::"
|
||||
ZSH_THEME_SCM_PROMPT_PREFIX="%{$fg[green]%}["
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=$ZSH_THEME_SCM_PROMPT_PREFIX$GIT_CB
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%} "
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}𝚫%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
@ -8,7 +8,7 @@ export ZSH="$HOME/.oh-my-zsh"
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
# to know which specific one was loaded, run: echo $RANDOM_THEME
|
||||
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
|
||||
ZSH_THEME="frisk"
|
||||
ZSH_THEME="frisky"
|
||||
|
||||
# Set list of themes to pick from when loading at random
|
||||
# Setting this variable when ZSH_THEME=random will cause zsh to load
|
||||
@ -103,4 +103,9 @@ source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Aliases
|
||||
alias ls="ls -F"
|
||||
alias gdiff="git diff"
|
||||
alias gdiffc="git diff --cached"
|
||||
alias gitc="git commit"
|
||||
|
||||
export LC_CTYPE="en_US.UTF-8"
|
||||
source ~/.cargo/env
|
||||
|
Loading…
Reference in New Issue
Block a user