mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-16 11:57:23 +00:00
Modify fish, kitty, git, vim, and yabai configs:
- fish: changed the way branches are displayed - kitty: specify fonts - git: add puff and merff aliases - vim: - add goyo - add limelight - add yats - add vim-jsx-pretty - modify csharp ale linter - yabai: modify yabai dimensions to mimic bspwm defaults
This commit is contained in:
parent
e0dea79605
commit
b6f39e91af
19 changed files with 39 additions and 21 deletions
|
|
@ -82,8 +82,8 @@ function fish_prompt --description 'Write out the prompt'
|
|||
|
||||
set -l cur_branch_len (string length $cur_branch)
|
||||
if test $cur_branch_len -gt 21
|
||||
set -l sub_str (string sub -s (math $cur_branch_len - 17) -l 18 $cur_branch)
|
||||
set cur_branch "...$sub_str"
|
||||
set -l sub_str (string sub -l 18 $cur_branch)
|
||||
set cur_branch "$sub_str..."
|
||||
end
|
||||
|
||||
if string match 'Your branch is ahead of*' $git_status > /dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue