Move and update aliases

This commit is contained in:
Georgi Gardev
2024-03-04 23:40:50 +02:00
parent fe81ac69a7
commit b72530e8f5
3 changed files with 31 additions and 29 deletions
+13 -2
View File
@@ -2,6 +2,13 @@
# Files
alias df1="du -h -d 1"
alias ls='ls -hG'
alias ll='ls -alhFG'
alias la='ls -AG'
alias l='ls -CFG'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# Git Aliases
alias g="git"
@@ -45,8 +52,9 @@ alias vimrc="vim ~/.vimrc"
# NPM
alias npr="npm run"
# CD-ing to some commonly used folders
alias og="cd ~/Git"
# IP addresses
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias localip="ipconfig getifaddr en0"
alias grep="grep --color=auto"
alias c="clear"
@@ -54,6 +62,9 @@ alias be="bundle exec"
alias serve="python -m http.server 9000"
alias yda="youtube-dl -x --audio-format mp3"
# CD-ing to some commonly used folders
alias og="cd ~/Git"
##### Mac OS Specific #####
alias fl="open -a ForkLift"
+1 -10
View File
@@ -44,20 +44,11 @@ HISTCONTROL=ignoreboth
# Aliases #
######################
# enable color support of ls and also add handy aliases
# enable color support of ls
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi
# some more ls aliases
alias ls='ls -hG'
alias ll='ls -alhFG'
alias la='ls -AG'
alias l='ls -CFG'
# Editor
export EDITOR='code -w'
+17 -17
View File
@@ -1,20 +1,20 @@
tap 'homebrew/bundle'
brew 'youtube-dl'
brew 'wget'
brew 'tree'
brew 'tmux'
brew 'thefuck'
brew 'nvm'
brew 'jq'
brew 'iperf3'
brew 'htop'
brew 'gnupg'
brew 'git'
brew 'gh'
brew 'findutils'
brew 'docker'
brew 'coreutils'
brew 'bitwarden-cli'
brew 'bash-git-prompt'
brew 'bash'
brew 'bash-git-prompt'
brew 'bitwarden-cli'
brew 'coreutils'
brew 'docker'
brew 'findutils'
brew 'gh'
brew 'git'
brew 'gnupg'
brew 'htop'
brew 'iperf3'
brew 'jq'
brew 'nvm'
brew 'thefuck'
brew 'tmux'
brew 'tree'
brew 'wget'
brew 'youtube-dl'