Commit Graph

27 Commits

Author SHA1 Message Date
nixy 9bc4faf1d3 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-04 17:53:07 +00:00
nixy f4a32f1a69 Ensure persistent history exists 2025-04-04 17:53:07 +00:00
nixy f6b76ee9d1 Improve escaping for PS1 2025-04-04 17:53:07 +00:00
nixy cfcc2bd943 Update regex to match new direnv versions 2025-04-04 17:53:07 +00:00
nixy 247417af95 Make direnv prompt updating conditional to direnv's presence 2025-04-04 17:47:21 +00:00
nixy 6d2071b1ea Fix Direnv prompt whenver off primary hosts 2025-04-04 17:47:21 +00:00
nixy e931cb3c81 Option select on tput working or use old fallback control codes 2025-04-04 17:47:21 +00:00
nixy e68ccd8bc7 Add a vim option select 2025-04-04 17:47:21 +00:00
nixy 8e1877f9e8 Added conditional coloring of bash prompt dependent on direnv status 2025-04-04 17:47:21 +00:00
nixy d682e91d6d Move persistent history to more appropriate location 2025-04-04 17:47:20 +00:00
nixy 912f5aa0b5 Improve bash history, add persistent history file 2025-04-04 17:47:20 +00:00
nixy 4ed509fee6 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-04 17:47:20 +00:00
nixy 7b33bf13f9 Add aliases for easy searching of history 2025-04-04 17:47:20 +00:00
nixy 81202b5968 Address issues that cause shell lines to break 2025-04-04 17:47:20 +00:00
nixy 914afec926 Begin to examine neovim config 2025-04-04 17:47:20 +00:00
nixy 9733251bfc Set hostname in prompt if through SSH 2025-04-04 17:47:20 +00: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