mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Added some scripts
This commit is contained in:
@@ -63,6 +63,8 @@ fpath_prepend() {
|
||||
|
||||
# last arg will be first in path
|
||||
path_prepend \
|
||||
"/opt/homebrew/bin" \
|
||||
"/opt/homebrew/sbin" \
|
||||
"$(brew --prefix)/sbin" \
|
||||
"$(brew --prefix)/bin" \
|
||||
"$HOME/.local/bin" \
|
||||
|
||||
@@ -39,6 +39,7 @@ alias l() { ls -lah "$@" }
|
||||
|
||||
# editor
|
||||
alias vim() { nvim "$@" }
|
||||
alias vi() { nvim "$@" }
|
||||
|
||||
# git
|
||||
alias g() { git "$@" }
|
||||
@@ -58,6 +59,9 @@ if [ $(hostname -s) = "Michaels-Mac-mini" ]; then
|
||||
alias projects() { cd "/Volumes/M1 Mac-Mini External Drive/Projects" }
|
||||
fi
|
||||
|
||||
# change file to be executable
|
||||
alias chmox() { chmod +x "$@" }
|
||||
|
||||
# tmux
|
||||
#alias ta() { tmux -f ~/.config/tmux/tmux.config attach "$@" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user