-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
46 lines (36 loc) · 1.43 KB
/
.profile
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
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
#
# Remap keyboard
#------------------------------------------------------------------------------
setxkbmap -layout us,ara
setxkbmap -option 'grp:ctrls_toggle'
setxkbmap -option caps:swapescape
# no mouse
setxkbmap -option keypad:pointerkeys
xkbset ma 60 10 10 6 2
#
# env vars
#------------------------------------------------------------------------------
export python='/usr/bin/python3'
#
# fzf
#------------------------------------------------------------------------------
export FZF_DEFAULT_COMMAND='fd --type f --color=never --hidden'
export FZF_DEFAULT_OPTS='--no-height --color=bg+:#343d46,gutter:-1,pointer:#ff3c3c,info:#0dbc79,hl:#0dbc79,hl+:#23d18b'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_CTRL_T_OPTS="--preview 'bat --color=always --line-range :50 {} & wc -l'"
export FZF_ALT_C_COMMAND='fd --type d . --color=never --hidden'
export FZF_ALT_C_OPTS="--preview 'tree -C {} | head -50'"
export MANPAGER="nvim +Man!"
export MANWIDTH=999
# source local settings
if [ -f "$HOME/.bashrc" ] ; then
source "$HOME/.bashrc"
fi