mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-22 23:39:21 +00:00
Reorganise Bash
This commit is contained in:
11
bash/.bash/aliases.bash
Normal file
11
bash/.bash/aliases.bash
Normal 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"
|
||||
Reference in New Issue
Block a user