Skip to content

Commit

Permalink
chore: 🚸 update aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Jul 1, 2023
1 parent ab96e64 commit 3c5a30f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
2 changes: 2 additions & 0 deletions defaults.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ $Global:OX_OXIDE.bkvs = "$env:OX_BACKUP\vscode\settings.json"
##########################################################

# shortcuts
function cat { bat $args }
function ls { lsd $args }
function ll { lsd -l $args }
function la { lsd -a $args }
function lla { lsd -la $args }
Expand Down
2 changes: 2 additions & 0 deletions defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ upp() {
##########################################################

# shortcuts
alias cat="bat"
alias ls="lsd"
alias ll="ls -l"
alias la="ls -a"
alias lla="ls -la"
Expand Down
7 changes: 1 addition & 6 deletions oxidizer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,6 @@ ForEach ($core_plugin in $Global:OX_CORE_PLUGINS) {
# PowerShell Settings
##########################################################

# use rust alternatives
function ls { lsd $args }
function cat { bat $args }
function du { dust $args }

$Global:OX_ELEMENT.ps = $PROFILE
$Global:OX_OXIDE.bkps = "$env:OX_BACKUP\shell\Profile.ps1"

Expand Down Expand Up @@ -192,4 +187,4 @@ Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward
Set-PSReadLineKeyHandler -Key "Ctrl+z" -Function Undo

Import-Module "$env:SCOOP\modules\scoop-completion"
Import-Module "$env:SCOOP\modules\scoop-completion"
5 changes: 0 additions & 5 deletions oxidizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ done

export SHELLS=/private/etc/shells

# use rust alternatives
alias ls="lsd"
alias cat="bat"
alias du="dust"

case ${SHELL} in
*zsh)
OX_ELEMENT[zs]=${HOME}/.zshrc
Expand Down

0 comments on commit 3c5a30f

Please sign in to comment.