Commit Graph

48 Commits

Author SHA1 Message Date
Gal@Shefet 09a810495f Fixed omp prompt
Fixed: .envrc shows up when `direnv` does not exists
Fixed: history hook was running before _omp_hook, losing the latest
       error code.
2022-09-27 13:02:30 -04:00
Gal Szkolnik d6687d8fa4 Single repo + chezmoi status in oh-my-posh prompt
Oh-My-Posh prompt displaying chezmoi status when changes are in working
copy (home dir) and/or uncommitted changes in the source path.

Externals manages as a separate chezmoi source in a subdir of the source
repo.
2022-09-26 18:39:41 -04:00
Gal Szkolnik fed4970b64 Moved externals to separate chezmoi repo
Following discussion on
2022-09-26 12:08:18 -04:00
Gal Szkolnik f38f61cc6d =various edits and improvments 2022-09-21 01:54:10 -04:00
Lockszmith 71e8da7289 truecharts generalization 2022-09-17 02:04:15 -04:00
Gal Szkolnik 07a1eff21d =Housekeeping + docker stuff 2022-08-26 14:30:33 -04:00
Gal Szkolnik 9dbfb53327 =Better systemctl handling 2022-08-26 14:13:42 -04:00
Gal Szkolnik 64add644e5 =mostly improving terraform tools 2022-08-26 12:07:53 -04:00
Gal@Shefet b31dec0570 Added better kubectl and helm support for truenas 2022-08-23 11:30:42 -04:00
shefet c9a80dc684 KubeCtl and helm support for TrueNAS 2022-08-22 14:39:29 -04:00
Gal Szkolnik 54c53c011c =Byobu improvements 2022-08-16 18:19:07 -04:00
Gal Szkolnik f457cef8a1 Completion improvements + QuickSupport fix 2022-08-11 20:05:07 -04:00
Gal Szkolnik e6b701af99 Adding tmux-bash-completion as external source 2022-08-11 09:18:02 -04:00
Gal Szkolnik cb679f9b01 =tweaks to gcp/tf output 2022-08-09 12:10:00 -04:00
Lockszmith 95a1b2db61 =Added usage message ot setacl 2022-08-05 20:00:36 -04:00
Gal Szkolnik aa5e3a5640 gcp stack output includes firewall 2022-08-05 11:28:56 -04:00
Gal Szkolnik 1e2ad899eb Improvement to gcp_get_stack output
+ support for tmux to preserve height of pane
+ ability modify head while running
2022-08-03 22:45:07 -04:00
Gal Szkolnik ab3e8132cc chore: mostly cleanup and formatting 2022-08-03 22:44:27 -04:00
Gal Szkolnik bd4bc1b7ee =Streamlined gcp/terraform helpers 2022-08-02 07:27:25 -04:00
Gal Szkolnik c14288eac0 =Completion support for cz alias 2022-08-02 07:26:18 -04:00
Gal Szkolnik d34c3b15d6 Improved gcp_get_stack code: leaner/cleaner output 2022-07-25 15:03:24 -04:00
Gal Szkolnik 9f1181ae02 General housekeeping tasks 2022-07-25 11:38:23 -04:00
Gal Szkolnik d1fe086f7c Emacs related changes
Added doom
Improved launcher
2022-07-25 11:22:19 -04:00
Lockszmith 51b56a4a38 sz-prep-docker-system script added 2022-07-14 20:14:03 -04:00
Gal Szkolnik 8238a75408 Various updates to sh shortcuts
direnv commands
terraform commands
tmux clipboard hack
a better editor detector
2022-07-11 18:00:44 -04:00
Gal Szkolnik 70aa423d53 Better use of which-command and a clip func 2022-06-29 01:24:41 -04:00
Lockszmith 41ca116a70 Added truecharts (TrueNAS SCALE) shortcuts 2022-06-26 22:43:06 -04:00
Gal Szkolnik 150f819494 Add inkscape alias when flatpack exists
This will allow calling flatpack easily for svg manipulation of emojis
2022-06-19 22:42:56 -04:00
Lockszmith c9169886ee Fixed type in aliases 2022-06-18 14:51:51 -04:00
Lockszmith 3723937501 Fixed missing bash aliases 2022-06-18 14:44:42 -04:00
Lockszmith 0c569629bc Refactored to make `zsh` support as seamless as `bash` 2022-06-18 14:13:08 -04:00
Gal Szkolnik dfe6dfe212 Cleanup vi support 2022-06-09 14:22:39 -04:00
Gal Szkolnik 1701cc1189 Fixed PROMPT_COMMAND from being duplicated 2022-06-07 13:50:15 -04:00
Gal Szkolnik 9b5c2c497c Editor streamlining
Oh-My-Posh prompt will not show up inside emacs shell.
`editor` is the alias I should get used to use instead of vi, adjusted
aliases so that editor will be used.
Enabled relevant layers in the spacemacs/init.el file
2022-06-07 12:36:29 -04:00
Gal Szkolnik 4197e32e72 Additional chezmoi aliases
czcd / cdcz
czs - chezmoi status
2022-06-07 00:42:50 -04:00
Gal Szkolnik f562c379aa Moved emacs configuration to .config/_emacs.my 2022-06-07 00:41:52 -04:00
Gal Szkolnik 786370ba94 Cleanup + some chezmoi houskeeping cmds 2022-06-06 10:28:09 -04:00
Gal Szkolnik 179f23b633 Added cz-add-changes + cleanedup poshtheme
= Oh-My-Posh theme template change to not( continas ...) logic instead
  of an empty condition and an {{ else }}.
+ cz-add-changes will add any changes made to chezmoi
2022-06-04 15:31:20 -04:00
Gal Szkolnik f445d39fc6 A mixed bad of updates
= Housekeeping, missing shrc.d and some changing in order.
  Most notably, split of editor aliases to separate file.
+ The missing .shrc.d files that were added:
  * keyboard mappings
  * bin.path - which includes cleanup
  * oh-my-posh compltions
+ edit-with-spacemacs ready for us, almost feature complete
  I still plan on making it resue existing frames is possible.
+ oh-my-posh config to include `systemctl is-system-running` to prompt
  when stat is not 'running' (mostly it will be shown when 'degraded')
2022-06-04 15:09:13 -04:00
Lockszmith d6169ea75a Added apt check and fix code + zfs code 2022-05-30 20:30:14 -04:00
Lockszmith 7c17b8922c Loading improvements
.bashrc will skip .swp files (editors leave those while open)
bin.path renamed to path.env and PATH manipulation should be 'cleaner'
  it adds required dirs to paths, but also makes sure no duplicates are
  inserted.
chezmoi logic split, and status is seperated from aliases.
Disable chezmoi status on load, as it is SLOW.
2022-05-29 05:33:04 +00:00
Lockszmith 86608fbc83 Major cleanup and testing added
+ added: bin/sz-doctor.sh shell script
+ fixed: chezmoi external configuration moved to _home
+ fixed: vi/vim/nvim aliases
+ fixed: bash_completion testsing
2022-05-29 01:46:21 +00:00
Lockszmith d916c3315d Some separation of chezmoi logic
Added commands to change GitHub URL
2022-05-28 20:32:51 -04:00
Lockszmith 12e3c5a470 Cleanup behavior to function when things are missing 2022-05-29 00:08:37 +00:00
Gal Szkolnik f197bd579c Some minor modifications
* Spacemacs client calls edit-with-spacemacs script (which is still a
  work-in-progress)
* added lessr for less with raw control chars (for ANSI colors)
* renamed `edshrc` to `sz-edshrc`
2022-05-28 17:54:45 -04:00
Gal Szkolnik de2e7e8ae5 Added cz aliases
cz-refresh - refresh the chezmoi source
cz-commit  - shortcut to a commit all
2022-05-26 09:06:21 -04:00
Gal Szkolnik 786431f769 Reanranging + Some useful shortcut
Still TODO: make sure each file is loaded only when it's supporting
prereqs exist
2022-05-26 08:52:54 -04:00
Gal Szkolnik db7b065b6c repo housekeeping + theming + terraform
+ terraform auto-completion
+ oh-my-posh
+ nerd-font: Code New Roman Nerd Font
2022-05-23 00:40:30 -04:00