Compare commits

..

89 Commits

Author SHA1 Message Date
anmiller
dfb9bf97e8 Fix kubeconfig xdg confg 2025-03-26 14:13:01 +00:00
anmiller
185824f6b8 Add script to symlink to old paths for legacy support 2025-03-21 18:02:40 +00:00
anmiller
16fdb25994 XDGify kubernetes config 2025-03-21 17:49:25 +00:00
anmiller
f79760f63e Support nix XDG pathing 2025-03-21 13:46:12 +00:00
anmiller
a07797c281 Add XDG support 2025-03-20 20:36:01 +00:00
anmiller
d0a7049bd8 Add gitconfig in xdg location
Recommendations came from this blog post:
    https://blog.gitbutler.com/how-git-core-devs-configure-git/

Let's see how this works out lol

Test
2025-03-20 20:35:57 +00:00
anmiller
b0e5c8e511 Add xdg-utils 2025-03-18 20:49:49 +00:00
anmiller
957de95e36 Make screen default to bash explicitly
Implictly I've never needed this as my user shell has always been bash
but in some containers recently the default shell is /bin/sh
2025-03-11 18:34:03 +00:00
anmiller
7a243ee185 Remove vim classic and add screen to standard utils 2025-03-11 18:28:15 +00:00
anmiller
e32ed8a7b7 Re-enable slow packages that have to be compiled from source 2025-03-11 14:15:52 +00:00
anmiller
1481fcc948 Update nix to 2.24.12 which is the current stable 2025-03-11 13:56:12 +00:00
anmiller
4afcb4523a Source nix profile after installing nix 2025-03-11 13:48:35 +00:00
anmiller
db92ba133b Update dotfile application to check for prereqs 2025-03-11 13:35:07 +00:00
0a7f1e193a Refactor profile flake installer
Add support for exporting to archive.nar
Add support for importing from an archive.nar
Add simple support for adding a flake.lock
2025-03-10 22:18:42 -04:00
edf8584f2a Conditionally source nix-profile if needed on non-nixos machines 2025-03-10 15:55:07 -04:00
30ff982bff Refactor code so coder_template_type is considered 2025-03-10 15:09:09 -04:00
da4d9dc4ce In a devcontainer setup install nix packages 2025-03-07 15:21:23 -05:00
anmiller
37d71e1e43 Add distrobox 2025-02-21 20:28:23 +00:00
anmiller
7f0fd90dcc Add zk for zettelkansten notes 2025-02-21 20:28:13 +00:00
anmiller
33be0bbd0a Add terraform LSP/config 2025-02-21 20:27:55 +00:00
630160e1e9 Merge branch 'master' of git.nixy.moe:nixy/dotfiles 2025-01-23 14:48:08 -05:00
anmiller
27d202b0c2 Fix .bashrc 2025-01-21 21:20:42 +00:00
anmiller
4353a79f16 Merge branch 'master' of https://git.nixy.moe/nixy/dotfiles 2025-01-21 21:19:55 +00:00
5ba18a9a7f Adjust PS1 for distrobox containers 2025-01-18 17:01:46 -05:00
157cb56eea Add nvim zk plugin 2025-01-18 17:01:30 -05:00
6d2ebcb505 Add vim option select to shell profile 2025-01-18 15:53:34 -05:00
anmiller
b3cecbaf22 Improve Xtrace by hiding output of prompt commands 2025-01-17 20:03:16 +00:00
anmiller
f72d1050d3 Add python + LSP + gitlab-ci-local tool 2025-01-03 18:07:30 +00:00
c2e40ce9df Update colorscheme fix to be conditional on neovim version 2024-12-04 10:11:40 -05:00
6c09b2c11b Merge branch 'master' of git.nixy.moe:nixy/dotfiles 2024-12-01 15:15:41 -05:00
8ff319f8de Fix colorscheme for neovim v0.10+ 2024-12-01 15:15:33 -05:00
561297d305 Refactor KDE to use konsave 2024-11-17 13:50:46 -05:00
7fbe76430d Add vim-gitgutter to configuration 2024-10-01 22:59:48 -04:00
anmiller
ed643a06f9 Update removal for newer nix profile output 2024-09-30 16:58:09 +00:00
anmiller
c460081637 Update language servers/dev tools 2024-09-30 16:53:04 +00:00
anmiller
2f971627bd Update nix to 2.18.7 and conditionally add ssl-cert to conf.nix 2024-09-30 16:52:40 +00:00
anmiller
55141b696b Add solargraph 2024-09-24 16:59:46 +00:00
anmiller
bee634eb79 Attempt to fix pinentry on non-nixos 2024-08-22 14:23:18 +00:00
anmiller
bc63202425 Add nix-shell prompt condition 2024-08-21 14:55:43 +00:00
anmiller
119c751ea3 More screen improvements 2024-07-16 17:17:45 +00:00
anmiller
722352e607 Add ruby by default 2024-07-16 17:13:30 +00:00
anmiller
e1d39feb7d Extend default scrollback for screen 2024-07-16 17:13:15 +00:00
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
ec19718182 Improve highlighting on selected pmenu 2024-06-11 20:21:07 +00:00
anmiller
6e88e2b333 Update flakes to support 24.05 and unstable branches 2024-06-07 13:47:48 +00: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
a16b49a394 Fix for vim colorscheme
LSP diagnostics use the same coloration as menu completion, which I had
_mostly_ ignored for a long time because while black on magenta is bad,
most of the text was black. Now that LSP is trying to use it, it then
rehighlights the text within the box many colors and then having magenta
as a background is bad
2024-06-06 23:20:54 -04:00
829e53d3cc Improve default window name for slime 2024-06-06 20:58:26 -04:00
e02cdd0b66 Attempt to automatically extract session name from curren screen session 2024-06-06 20:56:25 -04:00
c2ebab9a41 Don't do weird things with autocmd 2024-06-06 20:56:08 -04:00
5426e96bed Merge branch 'master' of git.nixy.moe:nixy/dotfiles 2024-06-05 21:03:06 -04:00
51b8138cf3 Update regex to match new direnv versions 2024-06-03 16:31:27 -04:00
790c132e07 Merge branch 'master' of https://git.nixy.moe/nixy/dotfiles 2024-06-03 16:30:07 -04:00
008d3720ff Add basic autocmds to wrap on markdown and open logs at the end 2024-06-02 17:24:00 -04:00
85cee95c2e Make a root single user nix install possible
Taken from this issue https://github.com/NixOS/nix/issues/1559

This is only so that the script will succeed when running in docker
containers without systemd (can't use multi-user) and that have root as
the default user, a shockingly common practice
2024-05-22 14:25:21 +00:00
7360e32a08 Automatically install coder in nix environments 2024-05-21 20:33:17 +00:00
c2286bb299 Remove vestigial vagrant reference 2024-05-21 20:33:17 +00:00
4c48565a8f Add installers for common programs to bring along 2024-05-21 20:33:17 +00:00
edd3b72430 Make direnv prompt updating conditional to direnv's presence 2024-05-21 20:33:17 +00:00
772da66b96 Fix Direnv prompt whenver off primary hosts 2024-05-21 20:33:17 +00:00
ac168d66d7 Beginner luasnip configuration for terraform 2024-05-21 20:33:17 +00:00
8937b9f566 Option select on tput working or use old fallback control codes 2024-05-21 20:33:17 +00:00
c73a495540 Attempt to fix recursive cloning for submodules 2024-05-21 20:31:27 +00:00
406c50b4a5 Add a vim option select 2024-05-21 20:31:27 +00:00
4360067486 Merge branch 'master' of https://git.nixy.moe/nixy/dotfiles 2024-05-13 13:55:38 -04:00
b156901695 Added conditional coloring of bash prompt dependent on direnv status 2024-05-12 22:58:50 -04:00
bc00f7a310 Option select on tput working or use old fallback control codes 2024-04-15 16:43:28 +00:00
16545b322f Attempt to fix recursive cloning for submodules 2024-04-15 16:18:09 +00:00
dafc207f96 Add a vim option select 2024-04-15 14:38:06 +00:00
f81ee2834a Move persistent history to more appropriate location 2024-04-10 22:38:26 -04:00
b7ce819dba Update git plugins 2024-04-10 22:35:31 -04:00
f7b5147450 Improve bash history, add persistent history file 2024-04-10 16:47:36 +00:00
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
d901efe31a Add aliases for easy searching of history 2024-04-10 16:46:31 +00:00
e15f254143 Add readline shortcuts for improved history searching 2024-04-10 16:37:56 +00:00
fa7af5ee1f Address issues that cause shell lines to break 2024-02-27 17:14:13 +00:00
819c41de45 Beginning binding/config for luasnip 2024-02-15 20:13:36 -05:00
c97ef61d30 Split up neonvim configuration into lua files rather than lua heredoc 2024-02-15 20:13:01 -05:00
0d5d35d5e1 Pin plugins to specific tagged versions rather than master + add luasnip 2024-02-15 18:42:52 -05:00
8c379c558a Update plugins 2024-02-15 18:17:27 -05:00
8ce45fc87c Update lspconfig 2024-02-09 17:24:02 +00:00
ed9e0d4419 Add conditional SSH config construction 2024-02-08 14:55:12 +00:00
dd35fe3b20 Update plugins 2024-02-06 20:08:30 -05:00
c26f6a6bf5 More neovim testing 2024-02-06 18:29:51 -05:00
08713c254f Begin to examine neovim config 2024-01-31 01:36:32 +00:00
2d14e91f81 Add support for progressive neovimming 2024-01-30 14:48:07 +00:00
8dda8c7fbc Set hostname in prompt if through SSH 2024-01-04 15:23:08 +00:00
7d67ff0662 Add firefox as BROWSER 2023-12-03 21:53:24 -05:00
2 changed files with 0 additions and 54 deletions

View File

@ -133,59 +133,6 @@ if [ -f "$HOME/.private_functions" ] && [ -r "$HOME/.private_functions" ]; then
. "$HOME/.private_functions" . "$HOME/.private_functions"
fi fi
source_completions() {
# Source completions if they are available
completion_dirs=(
"/usr/share/bash-completion/completions"
"/etc/bash_completion.d"
)
cache_dir="${XDG_CACHE_HOME}/bash-completion-sourcing"
if [ "${BUILD_CACHE}" ]; then
mkdir -p "${cache_dir}"
fi
# Base completion sourcing, later completions will fail without this
if [ -r "/usr/share/bash-completion/bash_completion" ]; then
. "/usr/share/bash-completion/bash_completion"
elif [ -r "/etc/bash_completion" ]; then
. "/etc/bash_completion"
fi
# Completions from packages
export TIMEFORMAT="%R"
for completion_dir in "${completion_dirs[@]}"; do
if [ -d "${completion_dir}" ] && [ -r "${completion_dir}" ]; then
for completion_file in "${completion_dir}"/*; do
if [ "$BUILD_CACHE" ]; then
echo "Sourcing ${completion_file}"
. "${completion_file}"
timeavg=$(time (. "${completion_file}") 2>&1 1>/dev/null)
timeavg=$(echo $timeavg | cut -d '.' -f 2)
if [ "${timeavg}" -gt 100 ]; then
echo "This ones slow, adding to cache"
echo "${timeavg}" > "${cache_dir}/$(basename ${completion_file})"
elif [ "${timeavg}" -gt 10 ]; then
echo "This ones a little slow"
echo "${timeavg}"
fi
else
if ! [ -e "${cache_dir}/$(basename ${completion_file})" ]; then
. "${completion_file}"
else
:
fi
fi
done
fi
done
unset TIMEFORMAT
}
if [ "$BASH_COMPLETION_ENABLED" ]; then
source_completions
fi
# Preserve the usefulness of set -x by attempting to hide everything that # Preserve the usefulness of set -x by attempting to hide everything that
# happens in prompt_command # happens in prompt_command
preserve_xtrace() { preserve_xtrace() {

View File

@ -6,7 +6,6 @@ set -ex
echo "PWD: $PWD" echo "PWD: $PWD"
# Coder dotfiles (and most other ways of doing this) will not do a recursive clone, so do that in install script. # Coder dotfiles (and most other ways of doing this) will not do a recursive clone, so do that in install script.
git submodule init && git submodule update git submodule init && git submodule update
# Match case insensitively to make things easier for this part # Match case insensitively to make things easier for this part
shopt -s nocasematch shopt -s nocasematch