summaryrefslogtreecommitdiff
path: root/bash/.bash_aliases
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-03-02 11:33:03 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-03-02 11:33:03 +0100
commit2a7a1e8ae03e03deace396b61ed5d08add6c6c23 (patch)
treeb84259d2c9e4c4c09faa468f56c7b6a05ece6411 /bash/.bash_aliases
parent6d809bc2f414684856e8521a5f9856b9ea39fabe (diff)
Running in guix
Diffstat (limited to 'bash/.bash_aliases')
-rw-r--r--bash/.bash_aliases15
1 files changed, 8 insertions, 7 deletions
diff --git a/bash/.bash_aliases b/bash/.bash_aliases
index e9dcea3..55b8292 100644
--- a/bash/.bash_aliases
+++ b/bash/.bash_aliases
@@ -9,13 +9,10 @@ alias r='ssh -l root'
alias fuck='COMMAND=$(history -p \!\!); echo sudo $COMMAND; sudo $COMMAND'
# enable color support of ls and also add handy aliases
-if [ -x /usr/bin/dircolors ]; then
- test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
- alias ls='ls --color=auto'
- alias grep='grep --color=auto'
- alias fgrep='fgrep --color=auto'
- alias egrep='egrep --color=auto'
-fi
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+alias fgrep='fgrep --color=auto'
+alias egrep='egrep --color=auto'
# some more ls aliases
alias ll='ls -alF'
@@ -41,3 +38,7 @@ alias pandoc-xelatex="pandoc $@ --pdf-engine=xelatex --to latex -N"
alias elenqdoc-article="pandoc-xelatex $@ --standalone --template elenq-article --metadata=documentclass:article"
alias elenqdoc-book="pandoc-xelatex $@ --standalone --template elenq-book --metadata=documentclass:book --top-level-division=chapter"
+# Kitty
+if [ $TERM = "xterm-kitty" ]; then
+ alias ssh="kitty +kitten ssh"
+fi