Skip to content

Commit

Permalink
feat: replace exa per eza
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas committed Sep 15, 2023
1 parent 5bc45f6 commit b0ee2a6
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 31 deletions.
2 changes: 1 addition & 1 deletion modules/dotly
Submodule dotly updated 1 files
+26 −0 README.md
14 changes: 14 additions & 0 deletions scripts/npm/rm_node_modules
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

set -euo pipefail

source "$DOTLY_PATH/scripts/core/_main.sh"

##? Remove all node modules recursively
#?? 1.0.0
##?
##? Usage:
##? rm_node_modules
docs::parse "$@"

find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +
17 changes: 0 additions & 17 deletions scripts/system/clean

This file was deleted.

1 change: 1 addition & 0 deletions scripts/utils/open_common
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ folders=(
["📁 screenshots"]="$HOME/Desktop/tmp/screenshots"
["📁 screencasts"]="$HOME/Desktop/tmp/screencasts"
["📁 Thumbnails"]="$GOOGLE_DRIVE_PATH/Shared drives/👑 Contents/🔖 Pro/Design/Thumbnails Cursos"
["📁 Twitch"]="$GOOGLE_DRIVE_PATH/Shared drives/👑 Contents/🔴 Recordings/👾 Twitch"
)

folder=$(printf "%s\n" "${!folders[@]}" | choose)
Expand Down
10 changes: 5 additions & 5 deletions shell/aliases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ alias sudo='sudo '

alias ..="cd .."
alias ...="cd ../.."
alias ll="exa -l --icons"
alias la="exa -la --icons"
alias ll="eza -l --icons"
alias la="eza -la --icons"

# Jumps
alias ~="cd ~"
alias tmp="cd ~/Desktop/tmp"
alias c='cd ~/Code'
alias codely="cd ~/Code/codely"
alias cdc='cd ~/Code'
alias cly="cd ~/Code/codely"

# Git
alias gaa="git add -A"
alias gc="dot git commit"
alias gca="git add --all && git commit --amend --no-edit"
alias gco="git checkout"
alias gsw="git switch"
alias gd="dot git pretty-diff"
alias gs="git status -sb"
alias gf="git fetch --all -p"
Expand Down
6 changes: 0 additions & 6 deletions shell/bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,3 @@ done
for bash_file in "$DOTLY_PATH"/shell/bash/completions/*; do
source "$bash_file"
done

if [ -n "$(ls -A "$DOTFILES_PATH/shell/bash/completions/")" ]; then
for bash_file in "$DOTFILES_PATH"/shell/bash/completions/*; do
source "$bash_file"
done
fi
4 changes: 2 additions & 2 deletions shell/exports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# ------------------------------------------------------------------------------
export CODELY_THEME_MODE="dark"
export CODELY_THEME_PWD_MODE="short" # full, short, home_relative
export CODELY_THEME_STATUS_ICON_OK="" #
export CODELY_THEME_STATUS_ICON_KO=""
export CODELY_THEME_STATUS_ICON_OK="" # ﭧ ﯓ
export CODELY_THEME_STATUS_ICON_KO=""
export CODELY_THEME_PROMPT_IN_NEW_LINE=false

if [[ $__CFBundleIdentifier == "com.jetbrains."* ]]; then
Expand Down
1 change: 1 addition & 0 deletions shell/init.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This is a useful file to have the same aliases/functions in bash and zsh
source "$DOTFILES_PATH/shell/aliases.sh"
source "$DOTFILES_PATH/modules/private/shell/exports.sh"
source "$DOTFILES_PATH/shell/exports.sh"
source "$DOTFILES_PATH/shell/functions.sh"
8 changes: 8 additions & 0 deletions shell/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@
# zmodload zsh/zprof

# ZSH Ops
## History
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_SAVE_NO_DUPS
setopt HIST_REDUCE_BLANKS
setopt INC_APPEND_HISTORY_TIME
setopt EXTENDED_HISTORY
setopt HIST_FCNTL_LOCK
setopt HIST_NO_STORE

## Autocd
setopt +o nomatch
# setopt autopushd

Expand Down

0 comments on commit b0ee2a6

Please sign in to comment.