[feature] mkdir / copy fullpath / copy file name
This commit is contained in:
parent
fe53531391
commit
2e873564c6
5
cli/lf/lfrc.win
Normal file
5
cli/lf/lfrc.win
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
cmd mkdir %mkdir "$@"
|
||||
|
||||
cmd fp %powershell -NoProfile -Command Set-Clipboard $env:f
|
||||
cmd fn %powershell -NoProfile -Command Set-Clipboard (Split-Path -Leaf ($env:f -replace '"',''))
|
3
win/setup/lf.ps1
Normal file
3
win/setup/lf.ps1
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
$dotfiles=(Get-Item $PSScriptRoot).Parent.Parent.FullName
|
||||
New-Item -Force -ItemType SymbolicLink -Target $dotfiles\cli\lf\lfrc.win -Path $Env:LOCALAPPDATA\lf\lfrc
|
|
@ -1,3 +1,3 @@
|
|||
|
||||
$dotfiles=(Get-Item $PSScriptRoot).Parent.Parent.FullName
|
||||
New-Item -Force -ItemType SymbolicLink -Target $dotfiles\WindowsTerminal\settings.json -Path $Env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
|
||||
New-Item -Force -ItemType SymbolicLink -Target $dotfiles\win\WindowsTerminal\settings.json -Path $Env:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
|
||||
|
|
Loading…
Reference in New Issue
Block a user