From 2ae5b37f86faa24aa5af7510b46a12ba8de1eb64 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 6 Mar 2024 19:15:23 +0000 Subject: [PATCH 1/5] Add description to fish ve function. And use tabs, The Correct Way. --- private_dot_config/private_fish/functions/ve.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/private_dot_config/private_fish/functions/ve.fish b/private_dot_config/private_fish/functions/ve.fish index 514bd04..bafb546 100644 --- a/private_dot_config/private_fish/functions/ve.fish +++ b/private_dot_config/private_fish/functions/ve.fish @@ -1,3 +1,3 @@ -function ve - source ve/bin/activate.fish +function ve --description "Activate python virtual environment" + source ve/bin/activate.fish end From ecd18298e073d3f0a74c1dad203b3f3790d70196 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 6 Mar 2024 19:18:08 +0000 Subject: [PATCH 2/5] Add some convenient commands to README --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index efe5e6b..ae2d184 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,16 @@ # dotfiles -My configuration files managed by chezmoi \ No newline at end of file +My configuration files managed by chezmoi + +To see the changes that would be applied on a new machine: +``` +chezmoi diff +``` + +To apply the changes: + +``` +chezmoi apply +``` + +See https://chezmoi.io/user-guide/ for more. From 2b21bde9df929726328d86c8e6336b67aa2dcbd0 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 6 Mar 2024 19:19:26 +0000 Subject: [PATCH 3/5] Make fish the default shell. Useful for work computers where changing my default shell could have larger consequences. --- dot_tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_tmux.conf b/dot_tmux.conf index cd88653..3cf14a2 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -1,3 +1,5 @@ +set-option -g default-shell /usr/bin/fish + bind-key h select-pane -L bind-key j select-pane -D bind-key k select-pane -U From e79151ae0d920f5bb2f0ed19806a83e930c3ef52 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 6 Mar 2024 19:19:52 +0000 Subject: [PATCH 4/5] Remove custom command to clear history. I don't use it much and it shadows the new window command, which I didn't previously use, but now will start using. --- dot_tmux.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/dot_tmux.conf b/dot_tmux.conf index 3cf14a2..bad331a 100644 --- a/dot_tmux.conf +++ b/dot_tmux.conf @@ -12,9 +12,6 @@ bind-key a send-prefix set -g escape-time 0 set -g renumber-windows on -# bind Ctrl-k to clearing history -bind-key c clear-history - # Show a visual bell, even on other windows set-window-option -g visual-bell both set-window-option -g bell-action other From 4896968bd3f1826bbfaff597ccfe3c9c4f8f9470 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 6 Mar 2024 19:24:47 +0000 Subject: [PATCH 5/5] Add more python plugin paranoia from work. --- private_dot_config/nvim/after/ftplugin/python.vim | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/private_dot_config/nvim/after/ftplugin/python.vim b/private_dot_config/nvim/after/ftplugin/python.vim index 534a0c0..903616f 100644 --- a/private_dot_config/nvim/after/ftplugin/python.vim +++ b/private_dot_config/nvim/after/ftplugin/python.vim @@ -1,5 +1,9 @@ -set nu -set noexpandtab -set nosmarttab -set tabstop=4 set indentexpr= +set noautoindent +set nocindent +set noexpandtab +set nosmartindent +set nosmarttab +set nu +set tabstop=4 +filetype indent off