Reorganise Bash

This commit is contained in:
2021-03-23 16:51:53 +00:00
parent 71b4d44d20
commit 8953f73b6d
4 changed files with 9 additions and 5 deletions

11
bash/.bash/aliases.bash Normal file
View File

@@ -0,0 +1,11 @@
# OSX aliases
if [ $(uname) == "Darwin" ]; then
alias ls="ls -FG"
alias code="code-insiders"
else
alias ls="ls -F --color=auto"
fi
alias t='(tmux has-session 2>/dev/null && tmux attach) || (tmux new-session)'
alias tma="tmux attach"
alias last="last | head"