-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprofile
More file actions
39 lines (30 loc) · 1.18 KB
/
Copy pathprofile
File metadata and controls
39 lines (30 loc) · 1.18 KB
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
# .profileの内容
# 注意:どうもGUI環境のない状態でzshをインタラクティブシェルとして使うと
# .profileが読み込まれないみたい
if type "setxkbmap" > /dev/null 2>&1; then
# capsキーをctrlキーに
setxkbmap -option ctrl:nocaps
fi
if type "xset" > /dev/null 2>&1; then
# 200msで30Hzのキーリピート
xset r rate 200 30
fi
# homebrew経由のpython3をデフォルトで使用するように、PATHの先頭にpython3のパスを追加
# if [ -d "/home/linuxbrew/.linuxbrew/opt/python@3/libexec/bin" ] ; then
# export PATH="/home/linuxbrew/.linuxbrew/opt/python@3/libexec/bin:$PATH"
# fi
# gnomeがいるときにはxinitrcが無視される可能性があるため,明示的に.profileから呼び出す
# [ -e "$HOME/.xinitrc" ] && source "$HOME/.xinitrc"
export QT_QPA_PLATFORMTHEME="qt5ct"
[ -d "$HOME/bin" ] && export PATH=$PATH:~/bin
if type "alacritty" > /dev/null 2>&1; then
export TERMINAL="alacritty"
fi
if type "xfce4-terminal" > /dev/null 2>&1; then
export TERMINAL="xfce4-terminal"
fi
# ローカルの設定
if [ -e "${HOME}/.profile_local" ]; then
source "${HOME}/.profile_local"
fi
export QT_QPA_PLATFORMTHEME=gtk2