31 Commits

Author SHA1 Message Date
75b1b57727 Fix .bashrc 2025-04-04 17:53:07 +00:00
85679ad72e Improve Xtrace by hiding output of prompt commands 2025-04-04 17:53:07 +00:00
b09c0d2b7b Adjust PS1 for distrobox containers 2025-04-04 17:53:07 +00:00
db55b56b85 Add nix-shell prompt condition 2025-04-04 17:53:07 +00:00
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
f4a32f1a69 Ensure persistent history exists 2025-04-04 17:53:07 +00:00
f6b76ee9d1 Improve escaping for PS1 2025-04-04 17:53:07 +00:00
cfcc2bd943 Update regex to match new direnv versions 2025-04-04 17:53:07 +00:00
247417af95 Make direnv prompt updating conditional to direnv's presence 2025-04-04 17:47:21 +00:00
6d2071b1ea Fix Direnv prompt whenver off primary hosts 2025-04-04 17:47:21 +00:00
e931cb3c81 Option select on tput working or use old fallback control codes 2025-04-04 17:47:21 +00:00
e68ccd8bc7 Add a vim option select 2025-04-04 17:47:21 +00:00
8e1877f9e8 Added conditional coloring of bash prompt dependent on direnv status 2025-04-04 17:47:21 +00:00
d682e91d6d Move persistent history to more appropriate location 2025-04-04 17:47:20 +00:00
912f5aa0b5 Improve bash history, add persistent history file 2025-04-04 17:47:20 +00:00
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
7b33bf13f9 Add aliases for easy searching of history 2025-04-04 17:47:20 +00:00
81202b5968 Address issues that cause shell lines to break 2025-04-04 17:47:20 +00:00
914afec926 Begin to examine neovim config 2025-04-04 17:47:20 +00:00
9733251bfc Set hostname in prompt if through SSH 2025-04-04 17:47:20 +00:00
5d5a099936 Expand collapsed bash prompt hostname matching 2022-06-30 19:38:35 -04:00
c8c98b541f Fix spacing 2021-04-08 18:14:31 +00:00
7efd916969 Merge branch 'master' of https://git.nixy.moe/nixy/dotfiles 2021-04-08 18:13:25 +00:00
56e2f5f7a7 Add sourcing of extra global home stored environment variables 2021-04-08 18:11:43 +00:00
41a6e59d27 Attempt to special case displaying hostname in prompt
Make it pretty
2019-12-15 17:41:03 -05:00
dc61e491d9 Add direnv to vim plugins 2019-04-22 14:43:49 +00:00
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
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
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
486ca235fd Make comments consistent.
There were some inconsistencies in capitilization
2017-07-18 05:04:40 -04:00
7c52136278 Reorginazation after switching to GNU Stow for organizing dotfiles 2017-04-05 12:25:42 -04:00