DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
powershell show only current directory
function
prompt
{
$p
=
Split-Path
-leaf
-path
(
Get-Location
)
"
$p
> "
}
Source by superuser.com #
PREVIOUS
NEXT
Tagged:
#powershell
#show
#current
#directory
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit