Skip to content

Commit 65c331e

Browse files
committed
✨ Added logout function
1 parent 0e539f8 commit 65c331e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pwsh/aliases.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ Set-Alias -Name reboot -Value restart
7070
Set-Alias -Name rb -Value restart
7171
Set-Alias -Name rs -Value restart
7272

73+
# Logout current user
74+
${function:logout} = { logoff }
75+
7376
# Create a new directory and enter it
7477
Set-Alias -Name mkd -Value CreateAndSetDirectory
7578

0 commit comments

Comments
 (0)