Set default editor in .bashrc and updated install.sh
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
1cf7b01030
commit
06da784e10
3 changed files with 11 additions and 7 deletions
8
.bashrc
8
.bashrc
|
@ -107,6 +107,10 @@ export GTK_IM_MODULE=ibus
|
||||||
export QT_IM_MODULE=ibus
|
export QT_IM_MODULE=ibus
|
||||||
export XMODIFIERS=@im=ibus
|
export XMODIFIERS=@im=ibus
|
||||||
|
|
||||||
|
# Setting default editor
|
||||||
|
export VISUAL=vim
|
||||||
|
export EDITOR="$VISUAL"
|
||||||
|
|
||||||
# enable programmable completion features (you don't need to enable
|
# enable programmable completion features (you don't need to enable
|
||||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||||
# sources /etc/bash.bashrc).
|
# sources /etc/bash.bashrc).
|
||||||
|
@ -118,10 +122,6 @@ if ! shopt -oq posix; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x /usr/bin/mint-fortune ]; then
|
|
||||||
/usr/bin/mint-fortune
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Add users bin directory to the PATH
|
# Add users bin directory to the PATH
|
||||||
if [ -d "$HOME/bin" ] ; then
|
if [ -d "$HOME/bin" ] ; then
|
||||||
PATH="$HOME/bin:$PATH"
|
PATH="$HOME/bin:$PATH"
|
||||||
|
|
6
.xinitrc
6
.xinitrc
|
@ -3,11 +3,11 @@ xset s off
|
||||||
xset -dpms
|
xset -dpms
|
||||||
xset s noblank
|
xset s noblank
|
||||||
|
|
||||||
# Load dconf
|
|
||||||
cat "$HOME/dotfiles/dconf/config" | dconf load /
|
|
||||||
|
|
||||||
# Start ibus
|
# Start ibus
|
||||||
ibus-daemon -d --xim
|
ibus-daemon -d --xim
|
||||||
|
|
||||||
|
# Load dconf
|
||||||
|
dconf load / < "$HOME/dotfiles/dconf/config"
|
||||||
|
|
||||||
# Start i3
|
# Start i3
|
||||||
exec i3
|
exec i3
|
||||||
|
|
|
@ -7,7 +7,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
# Setting up git configuration
|
# Setting up git configuration
|
||||||
ln -s "$DIR/.gitconfig" "$HOME/.gitconfig"
|
ln -s "$DIR/.gitconfig" "$HOME/.gitconfig"
|
||||||
|
|
||||||
|
# Setting up vim configuration
|
||||||
|
ln -s "$DIR/.vimrc" "$HOME/.vimrc"
|
||||||
|
|
||||||
# Setting up various configuration files
|
# Setting up various configuration files
|
||||||
|
ln -s "$DIR/.bash_logout" "$HOME/.bash_logout"
|
||||||
ln -s "$DIR/.bash_profile" "$HOME/.bash_profile"
|
ln -s "$DIR/.bash_profile" "$HOME/.bash_profile"
|
||||||
ln -s "$DIR/.bashrc" "$HOME/.bashrc"
|
ln -s "$DIR/.bashrc" "$HOME/.bashrc"
|
||||||
ln -s "$DIR/.aliases" "$HOME/.aliases"
|
ln -s "$DIR/.aliases" "$HOME/.aliases"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue