<commit_before>##################################################################################
# 
#    New Start: A modern Arch workflow built with an emphasis on functionality.
#    Copyright (C) 2017 <NAME>
# 
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
# 
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
# 
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <https://www.gnu.org/licenses/>.
# 
##################################################################################

####################################################################
# Sudo and other system aliases
####################################################################

alias sudo="sudo " # Make aliases work with sudo (note the extra space)
alias pls="sudo"   # A nicer way to ask for root permissions

alias rm="rm -i"        # Always confirm before deleting things (use -f to override)
alias mkdir="mkdir -p"  # Automatically make parent directories that don't exist yet

alias p="pwd | sed -e 's!$HOME!~!g'"    # Same as pwd, but uses ~ instead of $HOME

# Easily start fresh with a clean terminal
# Note that "clear force" (cf) clears the terminal for real and doesn't have
# any side effects when resizing windows or scrolling up
alias c="clear"
alias cf="tput reset"

# Make ls a lot easier to read (print directories first, just like ranger)
alias exa="exa --group-directories-first"
alias ls="exa"

alias l="exa -1"      # Show each output from ls on a separate line
alias lsa="exa -a"    # Show hidden files (also known as dotfiles)
alias type="type -a"  # Easily see what the command you want to run points to

####################################################################
# Volume aliases
####################################################################

# Usage: vol 10%+ (Increase the volume by 10%), vol 10%- (Decrease by 10%)
# vol 100% (Set the volume to 100%)
alias vol="amixer set 'Master' "
alias volume="vol"

####################################################################
# Miscellaneous aliases
####################################################################

alias vz="nvim +Files"   # Open any file inside a directory easily with fzf
alias vh="nvim -i NONE -c 'set noswapfile' -c 'set noundofile' -c 'set nobackup'"

# Quick and easy way to download the majority of online videos
alias dl="youtube-dl -f bestvideo+bestaudio"

alias back="feh --no-fehbg --bg-fill"          # Easily set a new background (temporary)
alias synctime="ntpdate -u 0.us.pool.ntp.org"  # Sync the system time with one on the internet

# Show the lines that are in <file2> but NOT in <file1>
alias compare="grep -nFxvf" # Usage: compare <file1> <file2>

# "dog" is a colorful version of cat
alias dog="pygmentize -g"

# Easily show all of the todos in a given project
alias todo="rg TODO"

# Use exa as a drop-in replacement for "tree" (faster, more colors, etc.)
alias tree="exa --long --tree"

####################################################################
# Git aliases
####################################################################

alias g="git"                       # In case we ever need to type a full command
alias ga="git add"                  # Swiftly add new files to the repository
alias gaa="git add --all"           # Quickly add all the files changed in a repository
alias gap="git add --patch"         # Commit a file one part at a time
alias gc="git commit -m"            # Easily create new commits
alias gd="git diff"                 # Show all file changes that you haven't added yet<commit_msg>Add tree -L 1 to aliases.zsh<commit_after>##################################################################################
# 
#    New Start: A modern Arch workflow built with an emphasis on functionality.
#    Copyright (C) 2017 <NAME>
# 
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
# 
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
# 
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <https://www.gnu.org/licenses/>.
# 
##################################################################################

####################################################################
# Sudo and other system aliases
####################################################################

alias sudo="sudo " # Make aliases work with sudo (note the extra space)
alias pls="sudo"   # A nicer way to ask for root permissions

alias rm="rm -i"        # Always confirm before deleting things (use -f to override)
alias mkdir="mkdir -p"  # Automatically make parent directories that don't exist yet

alias p="pwd | sed -e 's!$HOME!~!g'"    # Same as pwd, but uses ~ instead of $HOME

# Easily start fresh with a clean terminal
# Note that "clear force" (cf) clears the terminal for real and doesn't have
# any side effects when resizing windows or scrolling up
alias c="clear"
alias cf="tput reset"

# Make ls a lot easier to read (print directories first, just like ranger)
alias exa="exa --group-directories-first"
alias ls="exa"

alias l="exa -1"      # Show each output from ls on a separate line
alias lsa="exa -a"    # Show hidden files (also known as dotfiles)
alias type="type -a"  # Easily see what the command you want to run points to

####################################################################
# Volume aliases
####################################################################

# Usage: vol 10%+ (Increase the volume by 10%), vol 10%- (Decrease by 10%)
# vol 100% (Set the volume to 100%)
alias vol="amixer set 'Master' "
alias volume="vol"

####################################################################
# Miscellaneous aliases
####################################################################

alias vz="nvim +Files"   # Open any file inside a directory easily with fzf
alias vh="nvim -i NONE -c 'set noswapfile' -c 'set noundofile' -c 'set nobackup'"

# Quick and easy way to download the majority of online videos
alias dl="youtube-dl -f bestvideo+bestaudio"

alias back="feh --no-fehbg --bg-fill"          # Easily set a new background (temporary)
alias synctime="ntpdate -u 0.us.pool.ntp.org"  # Sync the system time with one on the internet

# Show the lines that are in <file2> but NOT in <file1>
alias compare="grep -nFxvf" # Usage: compare <file1> <file2>

# "dog" is a colorful version of cat
alias dog="pygmentize -g"

# Easily show all of the todos in a given project
alias todo="rg TODO"

# Use exa as a drop-in replacement for "tree" (faster, more colors, etc.)
alias tree="exa --long --tree"
alias t="tree -L 1"

####################################################################
# Git aliases
####################################################################

alias g="git"                       # In case we ever need to type a full command
alias ga="git add"                  # Swiftly add new files to the repository
alias gaa="git add --all"           # Quickly add all the files changed in a repository
alias gap="git add --patch"         # Commit a file one part at a time
alias gc="git commit -m"            # Easily create new commits
alias gd="git diff"                 # Show all file changes that you haven't added yet
{'fraction_non_alphanumeric': 0.24582250278499815, 'fraction_numerical': 0.006436440153484342, 'mean_word_length': 4.123652504755865, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5253920', 'n_tokens_mistral': 2182, 'n_tokens_neox': 2043, 'n_words': 978}