Commit Graph

27 Commits

Author SHA1 Message Date
nixy f64da797ce 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"
2024-07-03 20:16:09 -04:00
anmiller 4c312cfa58 Ensure persistent history exists 2024-06-07 13:46:39 +00:00
anmiller 11e8bf4bec Improve escaping for PS1 2024-06-07 13:44:14 +00:00
nixy 51b8138cf3 Update regex to match new direnv versions 2024-06-03 16:31:27 -04:00
nixy edd3b72430 Make direnv prompt updating conditional to direnv's presence 2024-05-21 20:33:17 +00:00
nixy 772da66b96 Fix Direnv prompt whenver off primary hosts 2024-05-21 20:33:17 +00:00
nixy 8937b9f566 Option select on tput working or use old fallback control codes 2024-05-21 20:33:17 +00:00
nixy 406c50b4a5 Add a vim option select 2024-05-21 20:31:27 +00:00
nixy b156901695 Added conditional coloring of bash prompt dependent on direnv status 2024-05-12 22:58:50 -04:00
nixy f81ee2834a Move persistent history to more appropriate location 2024-04-10 22:38:26 -04:00
nixy f7b5147450 Improve bash history, add persistent history file 2024-04-10 16:47:36 +00:00
nixy 6246e75d81 Alias cat to always add a newline
Sometimes if a file doesn't have a newline cat will not do one, causing
prompt strangeness
2024-04-10 16:46:42 +00:00
nixy d901efe31a Add aliases for easy searching of history 2024-04-10 16:46:31 +00:00
nixy fa7af5ee1f Address issues that cause shell lines to break 2024-02-27 17:14:13 +00:00
nixy 08713c254f Begin to examine neovim config 2024-01-31 01:36:32 +00:00
nixy 8dda8c7fbc Set hostname in prompt if through SSH 2024-01-04 15:23:08 +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