Commit Graph

69 Commits

Author SHA1 Message Date
Szkolnik Media Master ccf99f656d =Added ssh-auth.tmpl to myconfig 2022-02-14 18:36:25 -05:00
Gal on Sygin c0131deba4 Introduction of BitWarden package + prep
+ BitWarden module for easy autologon (not very secure but convinent on
  personal machines) - Will think this over some more afterwards
* Get-Path will always return without trailing directory separator
  (might want to make this 'always' for dirs, but unsure yet)
+ Added Edit-MountUnit scaffolding for later modifying it to import a
  template on new mount units, and easy edit of systemd mount and
  automount units.
2022-02-03 19:08:16 -05:00
Gal on Sygin 4bf2ff19f4 A lot of changes
+ PowerLine prompt now shows degraded systemctl state (When Apllicable)
+ Get-PlexInfo notifies if PLEX creds are needed and are missing
+ XDG env are setup if missing on linux
+ vi/vim command will launch editor, but prefer vi/vim/nvim if exists
+ new chezmoi package: auto loading completion
+ new flatpak package: List and Kill commands added
+ new zfs package: zls command added
2022-01-29 17:52:59 -05:00
Gilad Plex cdabbc7858 =Fix profile listing mechanism 2022-01-29 16:35:26 -05:00
GalSz (Varnois VDI) 685077b250 =Fixes 2022-01-04 14:00:49 -05:00
GalSz (Varnois VDI) c5311de65a Minor tweaks for windows env 2021-12-13 23:23:45 -05:00
Gal Szkolnik 1c4e9feb1f Stuff
Invoke-XApp (untested)
Find-MTU (grabbed from web)
Get-FreeDiskSpace (Wmi based)
WinCreds package
Generate-FancyZones for FancyZones PowerToy
2021-11-30 22:04:04 -05:00
Szkolnik Media Master c2675e2346 =dcsw additional output 2021-11-29 17:00:43 -05:00
Gal Szkolnik c8b9f5d2dc Magick, choco packages + more 2021-11-15 14:42:46 -05:00
Gal Szkolnik b1a24fde1a Fixed perfromance and a bug 2021-10-29 14:33:25 -04:00
Gal b0ec8e1780 Introducting PowerLine module
Added ExistingModules to packages, for module dependent package manifest
Moved PowerLine styling code to the PowerLine pacakge.
Added Package install code generation to Get-MyModules.
Fixed typo in EnsureJoinString
Fixed: Scoop operations would fail calling internal url function.
2021-10-29 13:31:24 -04:00
lksz c7ec1e8c5d =improve prompt 2021-10-19 00:55:06 -04:00
Gal Szkolnik 179f617bac Setup updates 2021-10-18 21:41:15 -04:00
Gal Szkolnik a2888a883b =Fixed styling error on load 2021-10-12 01:31:38 -04:00
lksz 57286b546c refine styling 2021-10-11 22:41:28 -04:00
lksz 3d52285361 Improved git prompt styling 2021-10-11 22:29:08 -04:00
lksz 532f82775b Cleaner prompt, Reload-MyScripts -Update switch 2021-10-11 21:37:18 -04:00
lksz 6ff3357c58 Some fixes to PowerLine prompt + New command
Start-GitHubDirDownload - Download a specific directory using
github's SVN support. Requires subversion package be installed.
2021-10-11 21:16:43 -04:00
Gal Szkolnik 86c1189211 Switching to PowerLine + Additional minor changes
Styling will be based on PowerLine module.
Placed _ll command/alias correctly based on platform
2021-10-11 20:56:10 -04:00
lksz 79e85bb21d Numerous fixes + a new command
+= ConvertTo-Zip - autodetects unrar, prefers it on 7-zip - resolves
    issues with some RAR extraction methods 7-zip does not support
+= Invoke-ExpressionEx - Added suppot for -WhatIf switch
++ Move-3Way - folder content comparative duplication
    was written to normalize a comics media folder
== Moved aliases to base, they were wrongly created in docker.
2021-10-11 20:41:46 -04:00
Gal Szkolnik f5e1f3e9af =fixing some linux native related issues 2021-09-30 16:27:44 -04:00
lksz 33b4c5166b Better....
Better Edit-DokcerCompose (suppress errors when permissions don't allow)
Better aliases (eds and edc)
Better Git commands.
2021-09-10 01:20:12 -04:00
lksz 86fdee1acc a lot
Modified shell-loading-snippets
DockerNetwork support
better l and ll
dot the pipe
2021-09-06 14:21:51 -04:00
Gal Szkolnik 2ce7561fb7 =Generalize editor initialization 2021-08-10 15:50:43 +00:00
Gal Szkolnik 0a2bb25700 Added better constrol over waiting for editor 2021-07-14 17:05:48 -04:00
lksz a8f55a151d =Fixed linux bug with latest edit-textfile change 2021-06-29 23:16:28 -04:00
itadmin d33131cd78 Support spaces in the editor path 2021-06-29 19:44:18 +00:00
lksz 6b8bd711af Edit-MyScript supports -TypeData editing 2021-05-27 12:47:27 -04:00
lksz 84d533a210 format.ps1xml support + fixes
+ Get-DockerProcess modified to display volume mappings (Binds) as well
  as docker-compose project names.
+ Reload-MyScripts will look for *.format.ps1xml files in the profile.d
  directory and load the format data from it.
+ Get-DockerProcess output is typed and a TypeData.format.ps1xml file
  was added to the package
+ Added _ll alias for easy posix ls -la output.
+ config.files.json modified for better neovim support.
2021-05-27 11:48:00 -04:00
Gal Szkolnik 60825c92c8 Updated MyPackage code
Better handling of package creation/modification via Set-MyPackage
Update the szCondition class to include CmdletExists+AppExeExists
2021-05-20 14:15:58 -04:00
Gal Szkolnik c38785cbf5 Edit-MyScript fix for Windows/PS5.1
When calling Edit-TextFile wihtout explicitly specifying -Path, multiple
files in command line would be passed on to editor incorrectly, with the
-Path explicitly specified, this now works in all versions of PowerShell
2021-05-12 09:29:18 -04:00
lksz 877f9adb4e Introducing Where-Ask script
A pipeline filter that will ask for confirmation based on the
parameters
2021-05-08 17:47:15 -04:00
lksz 35fe3a156f Fixed startup issues
Fixed Package condition testing which would fail, but also made it more
verbose.
Fixed shell-loading-snippets because of the rename to Setup-ScriptEnv.
2021-04-27 17:41:00 -04:00
Gal Szkolnik 5b8f0ca309 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-04-27 16:39:03 +00:00
Gal Szkolnik 171409437b Modified Setup process to be an opt-in, live type
Also minor fix to edit-textfile to accept Path named property as input

(cherry picked from commit 272d3f91af836d094d5e19a14fbfa06331677eda)
2021-04-27 16:34:19 +00:00
Gal Szkolnik 22aa3ba435 Improve performance of Package identification
Using -ListAvailable with Get-Command to ensure no module loading is
    attampeted while querying loaded commands.
    This improved performance when certain modules have not been
    loaded yet
2021-04-27 16:04:12 +00:00
lksz ac10608cc0 =Fixed oh-my-posh style verification for non Windows systems 2021-04-25 13:03:16 -04:00
lksz 499a86baa6 Added #TotalTime# option to Show-Progress Status 2021-04-22 16:51:42 +00:00
lksz 2f317c53f3 Formatting and agility
skip scoop in VSCode
Fix CovertFrom-TimeSpan to handle series and FieldName
2021-04-20 23:43:17 +00:00
lksz c9d13f5c4d package defintion improvements
Added CmdletExists and AppExeExists conditions
Cleanup of existing package description files
2021-04-16 17:07:00 +00:00
lksz 2b51f37cb7 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-04-16 15:45:54 +00:00
lksz 870887a577 Progress improvements + Waiting with progress 2021-04-16 15:45:36 +00:00
lksz b1f612828f Style update for Non-ANSI environments 2021-04-16 15:44:50 +00:00
lksz@work b303fa0f88 Cleanup of basics to work in Win + fixes to bugs 2021-04-07 16:04:46 -04:00
lksz b558edacd9 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-04-04 14:47:08 -04:00
lksz 8a93a0f123 git related improvements and implementations
+ Get-GitRepo - Clone or update a repo, with tag support
+ Get-GitHubReleaseTag - Grab tag from latest release page
+ Refresh-GitRepo - Stage all possible changes, discarding any
previously stageds changes
= GitHub repo is now git repo - as some code isn't GitHub specific
+ cat Alias for Get-Content
= Get-PossiblArguments improvement
= Invoke-WebDownload fix
= dcedit fixing bad argument processing
2021-04-04 14:42:29 -04:00
lksz 1c4bf033fb Added Pause and RandomString + some minor fixes 2021-04-02 22:58:01 +00:00
lksz 91199f7bcf =Testing for old version of PowerShellGet 2021-03-26 18:10:18 +00:00
lksz d441492cf0 Added DockerCompose completion + fixes 2021-03-23 01:06:49 -04:00
Gal Szkolnik b5b5702b17 Join-String dependency fix + Get-Path cleanup
If Join-String is missing, the 'string' module, if not existing will be
installed and then imported.
Get-Path produced an error when used with wildcard, fixed it with string
substituation.
Get-Path would output wildcard string when expansion didn't match, now
output will be blank.
2021-03-06 18:10:28 -05:00