Commit Graph

157 Commits

Author SHA1 Message Date
lksz 0f84a2f136 =Minor fix to Setup-ScriptEnv 2021-11-01 13:21:09 -04:00
Gal Szkolnik add64395fe =Fix syntax error 2021-10-29 14:38:42 -04: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 c227fe4a0d Fixing prompt while setting up 2021-10-18 21:59:28 -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 5e76d5a0ba dcsw defaults to nochange, dcl fixed 2021-09-23 21:56:01 -04:00
lksz c395c28e01 =Added Switch-DockerCompose 2021-09-11 21:49:09 -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 @Varonis Lab 50d9aef264 =Fixed some errors in Setup-ScriptEnv 2021-08-23 15:57:46 +00:00
Gal Szkolnik 1b3a16806a Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-08-10 15:51:11 +00:00
Gal Szkolnik 2ce7561fb7 =Generalize editor initialization 2021-08-10 15:50:43 +00:00
Gal Szkolnik 624ca2cc8c =added option to stay around after pwsh 2021-07-16 08:30:11 -05:00
Gal Szkolnik 509e15f8ef Add support for preserving specific devices 2021-07-16 09:23:58 -04:00
Gal Szkolnik fd9b8a968c Fix dps and Get-HAPath
DPS -MatchAny should work better now
Get-HAPath refined
2021-07-16 09:04:24 -04:00
Gal Szkolnik 0a2bb25700 Added better constrol over waiting for editor 2021-07-14 17:05:48 -04:00
lksz 187eb22b99 Merge branch 'master' of https://code.lksz.me/lksz/PowerShell_Scripts 2021-06-29 23:16:39 -04:00
lksz a8f55a151d =Fixed linux bug with latest edit-textfile change 2021-06-29 23:16:28 -04:00
Gal Szkolnik 1a05359193 =Fix SessionData Get bug when persistent storage doesn't exist yet 2021-06-29 22:46:33 +00:00
itadmin d33131cd78 Support spaces in the editor path 2021-06-29 19:44:18 +00:00
Gal Szkolnik 649b01ce1c scoop package support for [SessionData]
was supposed to be added with [SessionData] commit
2021-06-29 15:06:01 -04:00
Gal Szkolnik 6fb86bf855 =Bug fix in SessionData for Windows 2021-06-29 10:45:29 -04:00
lksz 55f5acc0f2 =Modified SessionData to work on Linux 2021-06-29 10:35:25 -04:00
Gal Szkolnik 2d858a8a06 Add SessionData class to setup script
Added [SessionData] static class to setup script
Utilized SessionData for scoop refreshing, so it will happen once per login session
 - otherwise it's a nuisance.
2021-06-29 09:46:57 -04:00
Gal Szkolnik 90bd351641 Bug fix for Get-DockerProcess
Get-Member would error when input was missing.
2021-06-24 09:47:51 -04:00
lksz 8cbb2e2252 =Added comment to convertto-zip for clarity 2021-06-24 09:43:37 -04:00
lksz b92f8fb9e8 updated README.md after renaming the setup script 2021-06-22 00:22:58 -04:00
lksz b8e123d447 Fine tuned dps output 2021-05-27 13:10:16 -04: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 fefb5e2572 Added Get-EventLogSz (after pulling upstream) 2021-05-25 16:11:16 +00:00
Gal Szkolnik 2aa29de253 Updated HA package
Refresh-HADeviceRegistry added prompts as well as generalization using
the profile.d set variables.
Added profile.d template file for smoother setup
Added HA Addon commands
2021-05-23 16:13:28 -04:00
Gal Szkolnik b410ec839d Added Home-Assistant package. 2021-05-23 12:47:20 -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 23e4c03c92 Added Set-ScreenRefreshRate function 2021-05-12 09:36:07 -04:00
Gal Szkolnik 1567ed3547 Add -UseBasicParsing to bypass warning in Windowsi 2021-05-12 09:34:42 -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 9f0d669b4c Ansible Output improvements
Using AnsibleOutput type, default type data will output 4 last lines,
while all lines would be available if needed.
2021-05-09 23:45:23 -04:00
lksz 92bd7ba69f Added haste module with New-Haste cmdlet 2021-05-08 17:48:32 -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