Alias & Function

Edit profile config

notepad $profile

Or

vi $profile

function ll { lsd -la }
function cdd { set-location $HOME\downloads }
function qrshow([string]$arg) {qrencode $arg -s 6 -o $HOME\Documents\qrcode.png ; start $HOME\Documents\qrcode.png}
set-alias pips pip_search
set-alias ydl yt-dlp

Take effect

Restart PowerShell for the change to take effect. A way to refresh the shell without closing it is to run . $profile

. $profile

This page was last edited on 2025-03-27 01:43

Powered by Wiki|Docs

This page was last edited on 2025-03-27 01:43

Mac
To whom it may concern

Powered by Wiki|Docs