Commit Graph

88 Commits

Author SHA1 Message Date
Lockszmith 6097bd2e5a Small modifications to oh-my-posh's path 2022-06-18 22:06:25 -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 42d570d673 Preping and testing system improvements
* oh-my-posh prompt to include gcloud env based info (ties in very well
  with direnv)
* sz-add-my-apt-repos - code updates, better comments. added ms repo for
  edge and powershell
* sz-doctor improvements/cleanup
2022-06-15 10:00:10 -04:00
Gal Szkolnik d0447b4f61 sz-doctor some work done, not complete yet
Adding repo testing code, needs to by tied to missing package logic
2022-06-09 14:23:30 -04:00
Gal Szkolnik df97fb2614 Added swap % free to prompt 2022-06-09 14:23:05 -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 8ca101d517 Cleanup emacs related setup 2022-06-06 16:35:43 -04:00
Gal Szkolnik 9b07d9489d bin housekeeping + apt personal utilities
sz-add-my-apt-repos - automate the apt repo addition
sz-doctor - better output - still in the works
sz-fix-apt-chmod - For TrueNAS SCALE where apt is disabled by default
2022-06-06 10:28: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
Gal Szkolnik 8cb6f49db9 spacemacs works + ohmyposh theme improvement
added username to right side of prompt
edit-with-spacemacs works with multiple files, even if they have spaces
in the file name
if emacs is installed and edit-with-spacemacs exists, that will become
the vi of chioce for the user.
2022-06-03 19:07:57 -04:00
Lockszmith d6169ea75a Added apt check and fix code + zfs code 2022-05-30 20:30:14 -04:00
Gal Szkolnik 6e75c3a27e Improve documentation 2022-05-29 03:23:13 -04:00
Gal Szkolnik 836bfe1193 Fixed oh-my-posh config check 2022-05-29 01:44:18 -04:00
Gal Szkolnik 2ecc1a5bac Ignore .uuid files in font dirs 2022-05-29 01:41:34 -04:00
Lockszmith 9ba45275dc Added editor checks to sz-doctor 2022-05-29 05:36:31 +00: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 ce4d8c303d Minor improvements
changed refresh interval for .chezmoiexternal entries
removed local byobu keybindings, the one that is changes by the system
2022-05-29 05:27:30 +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 999422da87 Prep to push to GitHub repo, added init script 2022-05-28 18:26:17 -04: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 0bce670c63 Persist byobu settings 2022-05-23 02:06:45 -04:00
Gal Szkolnik 00f6823191 Added vim/nvim pluggin support 2022-05-23 02:02:03 -04:00
Gal Szkolnik 48106680a8 Some fonts, and some oh-my-posh theme tweaks 2022-05-23 01:40:15 -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
Gal Szkolnik 5c083d662c Startup changes
Upon stratup:
+ launch byobu if it exists
+ add terraform auto-completion to bash
+ display chezmoi changes
2022-05-22 23:52:45 -04:00
Gal Szkolnik 4720ab81dc First commit
+ .bashrc loads scripts dynamically from .sz.shrc.d
    .sz.shrc.d processing:
      {shell-name}.pre/* (sorted)
      * (sorted)
      {shell-name}.post/* (sorted)
+ .sz.shrc.d includes:
  - chemoiz auto completion (bash)
  - gcloud auto completion (bash)

+ chemacs2 with deault profiles conifgured
+ spacemacs standard set as default emacs profile
+ *.desktop launch files created for
  - CopyQ Flatpak
  - Spacemacs (Emacs Daemon)
  - Spacemacs (Emacs Client)
2022-05-22 23:34:11 -04:00