mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-12-21 14:31:54 +01:00
Compare commits
3 Commits
b9fce71df9
...
074d7abd35
Author | SHA1 | Date | |
---|---|---|---|
|
074d7abd35 | ||
|
102f197d4a | ||
|
b08e40c082 |
4
zsh/env
4
zsh/env
@ -13,10 +13,10 @@ export EDITOR="nano"
|
||||
|
||||
# set `ll` command - b(etter)ls per default
|
||||
alias ll=bls
|
||||
if test -f "$homebrew_path/eza"; then
|
||||
if test -x "$(which eza)"; then
|
||||
alias ll=eza
|
||||
fi
|
||||
if test -f "$homebrew_path/lsd"; then
|
||||
if test -x "$(which lsd)"; then
|
||||
alias ll=lsd
|
||||
fi
|
||||
|
||||
|
7
zshrc
7
zshrc
@ -12,6 +12,13 @@ prompt_color2="#000000"
|
||||
# Load zsh settings
|
||||
source "$HOME/.dotfiles/zsh/settings"
|
||||
|
||||
# Run command when connected via SSH
|
||||
# via: https://stackoverflow.com/questions/27613209/how-to-automatically-start-tmux-on-ssh-session/40192494#40192494
|
||||
#
|
||||
if [[ $- =~ i ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_TTY" ]]; then
|
||||
tmux attach-session -t default || tmux new-session -s default
|
||||
fi
|
||||
|
||||
# Define platform
|
||||
platform='Unknown'
|
||||
if [[ $(uname) == 'Linux' ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user