From 5babd1faee6e3f4dde4223842f16a7a9f8bec673 Mon Sep 17 00:00:00 2001 From: Von Random Date: Wed, 29 Mar 2023 14:52:41 +0300 Subject: [PATCH] fish, wezterm: some wezterm cosmetics; nvim: enable shellcheck for bash --- cli/.config/fish/functions/ls.fish | 6 +++++- cli/.config/nvim/lua/plugins.lua | 2 +- gui/.wezterm.lua | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cli/.config/fish/functions/ls.fish b/cli/.config/fish/functions/ls.fish index 6090522..a85b9a5 100644 --- a/cli/.config/fish/functions/ls.fish +++ b/cli/.config/fish/functions/ls.fish @@ -1,3 +1,7 @@ function ls - command exa --group-directories-first $argv + set -l i + if test -n "$WEZTERM_PANE" + set i '--icons' + end + command exa $i --group-directories-first $argv end diff --git a/cli/.config/nvim/lua/plugins.lua b/cli/.config/nvim/lua/plugins.lua index 73de7a9..a2eebf2 100644 --- a/cli/.config/nvim/lua/plugins.lua +++ b/cli/.config/nvim/lua/plugins.lua @@ -16,7 +16,7 @@ local function plugins(use) } use { 'w0rp/ale', - ft = { 'sh', 'zsh', 'lua', 'python' }, + ft = { 'bash', 'sh', 'zsh', 'lua', 'python' }, cmd = 'ALEEnable' } end diff --git a/gui/.wezterm.lua b/gui/.wezterm.lua index cff7610..1a76451 100644 --- a/gui/.wezterm.lua +++ b/gui/.wezterm.lua @@ -12,7 +12,7 @@ local overrides = { theme = { color_scheme = 'PencilLight' } } local tab_bar_bg = '#ebdbae' -local tab_bar_fg = '#1e1e1e' +local tab_bar_fg = '#282828' local tab_bar_defaults = { bg_color = tab_bar_bg, fg_color = tab_bar_fg,