# Folders
alias ...='cd ../..'
alias ..='cd ..'
alias cd..='cd ..'
alias ls='eza --git --group-directories-first --icons'
alias ll='eza -l --git --group-directories-first --icons'
alias lt='eza --git --group-directories-first --icons --tree'
alias mkdir='mkdir -p'
alias dotfiles="cd $HOME/.dotfiles"
alias icloud="cd $HOME/Library/Mobile\ Documents/com~apple~CloudDocs"
alias dropbox="cd $HOME/Dropbox"

# Git
alias glu='git config user.name "Stefan Imhoff" && git config user.email "gpg@kogakure.8shield.net" && git config user.signingkey "7A7253E8!"'
alias glx='git config user.name "Stefan Imhoff" && git config user.email "stefan.imhoff@xing.com" && git config user.signingkey "73C3E2E3!"'
alias lg='lazygit'

# Vim
alias v='vim'

if type nvim > /dev/null 2>&1; then
  alias vim='nvim'
fi

# Emacs
alias emacs "emacs -nw"


# Tmux
alias t='tmux'
alias ta='tmux attach'

# Can't remember the fork name
alias youtube-dl='yt-dlp'

# iA Writer
alias ia='open $1 -a /Applications/iA\ Writer.app'

# Clear the screen
alias c="clear"

