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.
This commit is contained in:
parent
fefb5e2572
commit
84d533a210
5 changed files with 81 additions and 17 deletions
|
@ -107,7 +107,15 @@ foreach ( $local:PackagePath in $myPackages ) {
|
|||
". '$($_.FullName)';"
|
||||
} |
|
||||
Invoke-Expression
|
||||
|
||||
|
||||
Join-Path $PackagePath 'profile.d' | Where-Object { Test-Path $_ } |
|
||||
Get-ChildItem -Filter '*.format.ps1xml' |
|
||||
ForEach-Object {
|
||||
Write-Verbose "Loading $(getScriptName $_.FullName)...";
|
||||
"Update-FormatData '$($_.FullName)';"
|
||||
} |
|
||||
Invoke-Expression
|
||||
|
||||
$local:CommandsToAlias = (
|
||||
@( $PackagePath ) + $(
|
||||
[SystemName]::_GetValidValues("", $true, $true) |
|
||||
|
@ -131,4 +139,4 @@ foreach ( $local:alias in $myAliases.Keys ) {
|
|||
. SafeSetAlias $alias $myAliases[$alias] '#MyAlias'
|
||||
}
|
||||
|
||||
Remove-Item Function:\RemoveAlias, Function:\SafeSetAlias -ErrorAction SilentlyContinue
|
||||
Remove-Item Function:\RemoveAlias, Function:\SafeSetAlias -ErrorAction SilentlyContinue
|
||||
|
|
1
base/_ll.ps1
Normal file
1
base/_ll.ps1
Normal file
|
@ -0,0 +1 @@
|
|||
_ls -la $args
|
|
@ -1,11 +1,4 @@
|
|||
{
|
||||
"neovim": [
|
||||
"~/.config/nvim/init.vim",
|
||||
"~/.config/nvim/vim-plug/plugins.vim",
|
||||
"#vim",
|
||||
"#vi"
|
||||
],
|
||||
"vi": "~/.virc",
|
||||
"omp": "~/.oh-my-posh.omp.json",
|
||||
"profile": [
|
||||
"~/.profile",
|
||||
|
@ -54,15 +47,17 @@
|
|||
"~/.spacemacs",
|
||||
"#emacs"
|
||||
],
|
||||
"vi": "~/.virc",
|
||||
"vim": [
|
||||
"~/.vimrc",
|
||||
"~/.vim/vimrc"
|
||||
],
|
||||
"nvim": [
|
||||
"neovim": [
|
||||
"~/.config/nvim/init.vim",
|
||||
"~/.nvimrc",
|
||||
"~/.config/nvim/vim-plug/plugins.vim",
|
||||
"#vim"
|
||||
],
|
||||
"nvim": "#neovim",
|
||||
"tmux": [
|
||||
"~/.tmux.conf",
|
||||
"~/.byobu/.tmux.conf"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue