LoginSignup
1
2

More than 5 years have passed since last update.

Ubuntuを入れなおした私が、人権を取り戻すまで

Last updated at Posted at 2018-08-01

結構雑ですが、自分がパソコンに求める最低限の設定をまとめてみました.
自分向けの備忘録なので、なにかミスってるかもしれません.


イカしたエディタがはいること.

capslockがctrlになること.

これらによって、その箱は初めてパソコンとなる.


最低限の人権

$ LANG=C xdg-user-dirs-gtk-update
$ sudo apt-get install vim
$ sudo apt-get install git
$ gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:nocaps']"
$ sudo apt-get install tmux
$ git config --global alias.graph 'log --graph --oneline --decorate=full -20 --date=short --format="%C(yellow)%h%C(reset) %C(magenta)[%ad]%C(reset)%C(auto)%d%C(reset) %s %C(cyan)@%an%C(reset)"'

.bashrcに人権を付与する

# neovimへの移行
#alias vi=nvim
#alias vim=nvim

# kill caps
setxkbmap -option ctrl:nocaps

# my neovim setting
alias vimfile='cd ~/.config/nvim'

# for tmux
alias tmux="TERM=screen-256color-bce tmux"
#alias tmux="TERM=xterm-color256 tmux"
alias tmux="tmux -2"
#export TERM=xterm-color256

# ros
source ~/catkin_ws/devel/setup.bash
source /opt/ros/kinetic/setup.bash

alias cm="cd ~/catkin_ws && catkin_make"

あと、

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

のとこの\W\wに書き直します


エディタに人権を付与する

さいつよエディタであるneovimをいれる.
手前味噌だけども、筆者の設定パクってneovim環境つくるのオススメ.

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2