-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bashrc
49 lines (40 loc) · 982 Bytes
/
.bashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
# bash-completion
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
# git-completion
if [ -f ~/.git-completion.bash ]; then
source ~/.git-completion.bash
fi
# bash_completion_tmux.sh
if [ -f ~/bash_completion_tmux.sh ]; then
source ~/bash_completion_tmux.sh
fi
# tscreenがあればそれを使う
if [ -x /bin/tscreen ]; then
alias screen='tscreen'
fi
# tmuxを256色に
alias tmux='tmux -2'
alias ta='tmux attach || tmux -f ~/.tmux.conf'
# # ログイン時に自動でscreenを起動するように。(多重screen禁止)
# case "$TERM" in
# xterm*|linux*)
# screen -rx || screen -D -RR
# ;;
# screen*)
# zsh
# ;;
# esac
#=============================
# source zsh
#=============================
if [ -f ~/.zsh/`hostname`.rc ]; then
source ~/.zsh/`hostname`.rc
fi