37 Commits

Author SHA1 Message Date
anmiller d67b07d275 Only source direnv if it hasn't already been sourced 2025-08-12 21:41:58 +00:00
anmiller dda5fcc784 Update prompt manipulation with functions! 2025-08-12 21:41:41 +00:00
nixy e24e8a1c49 Add prompt generation commands for git/kubernetes 2025-04-08 15:29:36 +00:00
nixy b1f6fc2f52 Turns out I didn't need to do all that 2025-04-05 16:38:28 -04:00
nixy 0f8a05b561 Add bash completion sourcing, with cache 2025-04-05 16:38:28 -04:00
nixy 3583770d94 Add XDG support 2025-04-05 16:38:28 -04:00
nixy 20934a6a08 Fix .bashrc 2025-04-05 16:38:28 -04:00
nixy 42ec31431e Improve Xtrace by hiding output of prompt commands 2025-04-05 16:38:28 -04:00
nixy 82d5a313c4 Adjust PS1 for distrobox containers 2025-04-05 16:38:28 -04:00
nixy 9027cd9bc6 Add nix-shell prompt condition 2025-04-05 16:38:28 -04:00
nixy 6935843cee Move vim option select to execute logic at alias def time
Using the function would cause problems when trying to perform a `sudo
vim`. The sudo command would run in a root shell which does not have my
shells functions (but does have it's aliases) so then any attempt to
sudo vim would fail with "vim_option_select: command not found"
2025-04-05 16:38:28 -04:00
nixy 0165d9bad2 Ensure persistent history exists 2025-04-05 16:38:28 -04:00
nixy 17be8f5726 Improve escaping for PS1 2025-04-05 16:38:28 -04:00
nixy 1829f987e9 Update regex to match new direnv versions 2025-04-05 16:38:28 -04:00
nixy 4ef1d15958 Make direnv prompt updating conditional to direnv's presence 2025-04-05 16:38:28 -04:00
nixy 97a4f9fa91 Fix Direnv prompt whenver off primary hosts 2025-04-05 16:38:28 -04:00
nixy 1961395687 Option select on tput working or use old fallback control codes 2025-04-05 16:38:28 -04:00
nixy 3636fb6d07 Add a vim option select 2025-04-05 16:38:28 -04:00
nixy ab6350f15a Added conditional coloring of bash prompt dependent on direnv status 2025-04-05 16:38:28 -04:00
nixy 54a937f610 Move persistent history to more appropriate location 2025-04-05 16:38:28 -04:00
nixy 44cf82a669 Improve bash history, add persistent history file 2025-04-05 16:38:28 -04:00
nixy fd08d4ed13 Alias cat to always add a newline
Sometimes if a file doesn't have a newline cat will not do one, causing
prompt strangeness
2025-04-05 16:38:28 -04:00
nixy ae09d9af9d Add aliases for easy searching of history 2025-04-05 16:38:28 -04:00
nixy 1e340b2a52 Address issues that cause shell lines to break 2025-04-05 16:38:28 -04:00
nixy b2c9f720ab Begin to examine neovim config 2025-04-05 16:38:28 -04:00
nixy fc9a068d01 Set hostname in prompt if through SSH 2025-04-05 16:38:28 -04:00
nixy 5d5a099936 Expand collapsed bash prompt hostname matching 2022-06-30 19:38:35 -04:00
nixy c8c98b541f Fix spacing 2021-04-08 18:14:31 +00:00
nixy 7efd916969 Merge branch 'master' of https://git.nixy.moe/nixy/dotfiles 2021-04-08 18:13:25 +00:00
nixy 56e2f5f7a7 Add sourcing of extra global home stored environment variables 2021-04-08 18:11:43 +00:00
nixy 41a6e59d27 Attempt to special case displaying hostname in prompt
Make it pretty
2019-12-15 17:41:03 -05:00
nixy dc61e491d9 Add direnv to vim plugins 2019-04-22 14:43:49 +00:00
nixy bb11db42a5 Ensure .profile is loaded by shells.
Took this code out of /etc/profile and /etc/bashrc from NixOS
2018-01-04 18:35:09 -05:00
someguy d0ea94c3f2 Move prompt management into bash configuration
Also add better history management. I've been using GNU screen for a
while which messes up history for a lot of shells. Every shell will now
  append to and reread history after each command.
2017-11-03 08:05:36 -04:00
someguy 638c7e2f03 Remove sourcing of Nix stuff
Darwin multi-user installation has mostly removed the need to have
these.
2017-09-07 06:13:15 -04:00
someguy 486ca235fd Make comments consistent.
There were some inconsistencies in capitilization
2017-07-18 05:04:40 -04:00
someguy 7c52136278 Reorginazation after switching to GNU Stow for organizing dotfiles 2017-04-05 12:25:42 -04:00