Commit Graph

54 Commits

Author SHA1 Message Date
Gal Szkolnik bd4bc1b7ee =Streamlined gcp/terraform helpers 2022-08-02 07:27:25 -04:00
Gal Szkolnik b18c977d75 =A more useful output format for lsblk 2022-08-02 07:26:57 -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 4c40b724c8 edit-with-emacs fixed
It actually is doing what it's suppose to do:
1. Ensure that emacs-daemon is running.
2. If no frame exists a new frame is opened
3. If frame exists, open within that frame
4. CURRENTLY NOT WORKING: Set focus on frame. Focus is actually set, but
   frame isn't coming forward, will require additional research into
   this issue.
2022-06-29 01:36: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 e3ba006033 Switch oh-my-posh path style to agnoster-full 2022-06-20 20:01:26 -04:00
Gal Szkolnik 3fe408a661 Cleanup sz-doctor's output 2022-06-20 08:28:50 -04:00
Gal Szkolnik 5a4d780cbd sz-doctor: Added MTM (Machine Type and Model) code 2022-06-20 00:48:02 -04:00
Gal Szkolnik 48368fd383 Added System information 2022-06-19 22:44:12 -04:00
Gal Szkolnik bde00fef56 Improvements to prompt 2022-06-19 22:43:54 -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
Gal Szkolnik b91b7b7a4a Fix: skip files ending with ~ 2022-06-19 22:42:37 -04:00
Gal Szkolnik 7a18458347 Added curated list of emoji
Useful for slack with the [Neutral face emoji tools](https://chrome.google.com/webstore/detail/neutral-face-emoji-tools/anchoacphlfbdomdlomnbbfhcmcdmjej)
chrome extension
2022-06-19 15:51:35 -04:00
Lockszmith 98c5ac7c0e Small modifications to oh-my-posh's path 2022-06-18 22:13:45 -04:00
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 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 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