1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2025-10-17 19:41:01 +00:00

137 Commits

Author SHA1 Message Date
Holger Just
26cd4e8496
Edit only if project was found in ce helper 2025-04-08 14:45:28 +02:00
Holger Just
85c1f32751
Remove gem directories from CDPATH, vastly simplify project_dirs helper 2025-04-08 14:42:44 +02:00
Holger Just
02fe70ba12
Typo in CDPATH variable expansion of _with_project 2025-04-08 14:22:15 +02:00
Holger Just
6669010733
Add bash conmpletion for ce helper 2025-03-11 13:55:45 +01:00
Holger Just
97ae98280f
Add mc helper for mkdir -p && cd 2025-02-15 11:29:40 +01:00
Holger Just
810218c09a
Colorize with_project error, send all status info to STDERR 2025-02-15 11:29:12 +01:00
Holger Just
97a4b25bb9
Add ce helper to cd and edit a directory 2025-02-15 11:26:06 +01:00
Holger Just
e68ba30ca4
Add lla alias 2025-02-13 15:55:59 +01:00
Holger Just
3a62614066
Only setup additional completion rules if BASH_COMPLETION is loaded 2025-02-03 13:25:54 +01:00
d5b7977e0a Resolve a lot of shellcheck warnings in .bashrc 2025-01-22 00:37:09 +01:00
76cbf50392 Better variable quoting in delink function 2025-01-22 00:21:35 +01:00
5b8b5a1ae2 Off-by-one in __short_pwd for PS1 2025-01-21 23:28:07 +01:00
60197d6484 Fix spacing in PS1 for __prompt_vcs 2025-01-21 14:50:16 +01:00
dc43aa9130 Further simplify prompt_vcs 2025-01-21 00:57:17 +01:00
814085ae0c Remove old cruft, improve quoting, reorganize 2025-01-21 00:34:05 +01:00
e5449c3cda Simplify and cleanup PS1 with VCS details 2025-01-21 00:33:12 +01:00
1d642b5623 Allow to use e function with files and stuff that looks like parameters 2025-01-21 00:29:54 +01:00
759ac11139 tmp: remove aliases 2025-01-20 22:50:35 +01:00
a7bc0b810e Update git aliases 2025-01-20 22:47:28 +01:00
b335211fe5 Remove old unused aliases 2025-01-20 22:46:35 +01:00
2f7155fa24 Use bash-completion entirely from homebrew on macos 2025-01-20 22:32:10 +01:00
ac6c018776 Load Homebrew using recommended brew --shellenv 2025-01-20 22:30:52 +01:00
278735e651 Add zed as a preferred editor 2025-01-20 22:28:32 +01:00
2f4b615c7a Update Base16 theme to tomorrow-night 2025-01-20 22:26:34 +01:00
69e01d02ce Do not manually load /etc/bashrc, this happens automatically 2025-01-20 22:14:07 +01:00
79a8fab3f2 Add autocomplete for ssh-insecure alias 2022-11-08 19:15:56 +01:00
947fc54b37 Use pyenv init --path to initialize pyenv, see https://github.com/pyenv/pyenv/issues/1906 2022-08-01 12:22:58 +02:00
40b0d923f0 Add ssh-insecure alias to ignore SSH server hostkeys (e.g. for rescue systems) 2022-07-26 11:24:44 +02:00
af48476c5a Add --disable-gems for Ruby version fallback to save 60-100ms 2022-07-26 11:23:57 +02:00
318328ffa8 Cleaner pyenv setup in case it is in a non-standard location or missing altogether 2022-07-26 11:23:23 +02:00
be1e716cd8 Detect python3 when starting a simple http server 2022-04-14 17:29:16 +02:00
d6f7f5b5ae Use bundle exec to start rails apps 2022-04-14 17:28:40 +02:00
27e2064432 Add local perl config 2022-04-14 17:27:59 +02:00
46eedc18dd Initialize pyenv if installed 2020-10-08 16:39:47 +02:00
fed0941208 Alias chruby as cr 2020-06-29 12:14:50 +02:00
d205b117bd Explicitly use webrick in ss function to workaround strange argument parsing in updated old rails versions 2019-03-25 12:13:57 +01:00
7e1bf02e2d Set the chruby_auto Ruby version in PS1 to show the right version on initial load 2019-03-25 12:12:58 +01:00
ef3a6f2644 Use gittower in preference to GitX for gitx alias 2018-08-29 11:25:01 +02:00
bf9cc0d7af Remove unnecessary cleanup in .bashrc 2018-08-16 00:02:29 +02:00
66dd80c008 Inline calculation of ps1_exit_code for Bash 3 2018-08-16 00:00:50 +02:00
5635aeb13c Return error code if with_project fails 2018-08-15 23:55:02 +02:00
9b3c978f29 Show the exit status of the last command in Bash prompt 2018-08-15 23:47:39 +02:00
f6b528e424 Update calculation of short_pwd to also work on Bash 4 2018-08-15 23:15:43 +02:00
fc2d6187d6 Set locale variables to avoid warnings on SSH targets 2018-08-15 23:15:18 +02:00
55778eac5d Dynamically determine Ruby version for PS1 2018-08-08 17:46:53 +02:00
8d2e9d6057 Open new window when using atom as $EDITOR 2018-08-07 16:38:13 +02:00
d8f7d8c986 Remove redundant editor settings from .bashrc 2018-08-07 16:22:08 +02:00
Holger Just
02f66468fa Load shell theme in .bash_profile to not mess with a connecting rsync 2018-08-07 12:53:14 +02:00
43c5579820 Cleanup .bashrc 2018-08-07 11:47:56 +02:00
a58f873114 Use atom instead of subl as the default editor 2018-08-06 20:10:54 +02:00