๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add function to query the jj_description

Kacaii 65f626b1 c95046aa

+21 -8
+1
.config/fish/config.fish
··· 8 8 set -gx EDITOR nvim 9 9 set -gx XDG_CONFIG_HOME $HOME/.config 10 10 set -gx TERM xterm-256color 11 + set -gx JJ_DESCRIPTION ( get_jj_description ) 11 12 12 13 # ๏…› Config files 13 14 set -g dotfiles $HOME/dotfiles
+1 -1
.config/fish/functions/fish_right_prompt.fish
··· 17 17 if test -n "$jj_root_dir" 18 18 set vcs_color blue 19 19 set vcs_icon (set_color $vcs_color ) "๏‚ " ( set_color normal ) 20 - set jj_description "$(jj log -R $jj_root_dir -r @ -T "description" --no-graph)" 20 + set jj_description ( get_jj_description ) 21 21 else if test -n "$git_root_dir" 22 22 set vcs_color red 23 23 set vcs_icon (set_color $vcs_color ) "๎™ " ( set_color normal )
+11
.config/fish/functions/get_jj_description.fish
··· 1 + function get_jj_description -d "Current commit description or empty string if none" 2 + set -l jj_root_dir "" 3 + 4 + command -q jj 5 + and set -l jj_root_dir ( jj root 2> /dev/null ) 6 + and test -n "$jj_root_dir" 7 + and echo "$(jj log -R $jj_root_dir -r @ -T "description" --no-graph)" 8 + 9 + # Empty if it Fails 10 + or echo "" 11 + end
+1
.config/nvim/lua/plugins/colorscheme.lua
··· 53 53 overlay2 = "#9e9e9e", 54 54 peach = "#ffaf87", 55 55 pink = "#ffafd7", 56 + lavender = "#b4befe", 56 57 red = "#ff87af", 57 58 sky = "#87d7d7", 58 59 text = "#d7d7ff",
+7 -7
.config/nvim/lua/plugins/lualine.lua
··· 1 1 return { 2 - "nvim-lualine/lualine.nvim", 3 - opts = { 4 - options = { 5 - section_separators = { left = "๎‚ผ", right = "๎‚บ" }, 6 - component_separators = { left = "", right = "" }, 7 - }, 8 - }, 2 + "nvim-lualine/lualine.nvim", 3 + opts = { 4 + options = { 5 + section_separators = { left = "๎‚ด", right = "๎‚ถ" }, 6 + component_separators = { left = "", right = "" }, 7 + }, 8 + }, 9 9 }