-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsource_list.precision
More file actions
49 lines (40 loc) · 1.55 KB
/
source_list.precision
File metadata and controls
49 lines (40 loc) · 1.55 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
40
41
42
43
44
45
46
47
48
49
#! /bin/sh
# This is a script used for executing scripts, sourcing softwares and other
# things before starting a terminal. These are not related to bash or zsh and
# thus kept in a seperate file.
export TERM=xterm-256color
# set tabstop to 4 spaces
tabs -4
# fuzzy file finder (fzf) related settings
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_COMMAND='find . -not \( -path "*/build/*" -prune \)\
-not \( -path "*/devel/*" -prune \)\
-not \( -path "*/logs/*" -prune \)\
-not \( -path "*/\.*/*" -prune \)'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_DEFAULT_OPTS="--height 40% --layout=reverse --border"
# ROS stuff
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
source /opt/ros/jazzy/setup.zsh
export COLCON_WORKSPACE=/home/dharmin/jazzy
source $COLCON_WORKSPACE/install/setup.zsh
export ROS_AUTOMATIC_DISCOVERY_RANGE=SUBNET
export COLCON_LOG_PATH=$COLCON_WORKSPACE/log
export ROSCONSOLE_FORMAT='[${severity}] [${time}] [${node}]: ${message}'
[ -f ~/.ros/roscd.zsh ] && source ~/.ros/roscd.zsh
function _cabin()
{
local -a args arg
args="$(ls /home/dharmin/jazzy/src/navigation/cabin_nav/config)"
arg=("${(f)args}")
_describe 'command' arg
}
compdef _cabin cabin
compdef _cabin cabind
compdef _cabin cabingdb
# ranger file browser related settings
export RANGER_LOAD_DEFAULT_RC=FALSE
VISUAL=vim; export VISUAL EDITOR=vim; export EDITOR
export BROWSER=brave-browser
# neofetch on start
neofetch --source ~/.config/neofetch/batman3