Skip to content

Commit

Permalink
Fixed bug with .profile
Browse files Browse the repository at this point in the history
The first level of a symlinked folder would not show up as executable.
  • Loading branch information
fimad committed Sep 12, 2013
1 parent 863704e commit 9295a1b
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
33 changes: 32 additions & 1 deletion .config/terminator/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,38 @@
enabled_plugins = TestPlugin, APTURLHandler, MavenPluginURLHandler, LaunchpadBugURLHandler
borderless = True
[keybindings]
close_window = None
group_tab = None
move_tab_right = None
resize_left = None
move_tab_left = None
go_right = None
new_tab = None
resize_right = None
resize_down = None
toggle_zoom = None
zoom_in = <Primary><Shift>plus
group_all = None
full_screen = None
prev_tab = None
split_vert = None
ungroup_all = None
ungroup_tab = None
zoom_out = <Primary><Shift>underscore
go_prev = None
close_term = None
new_terminator = None
go_left = None
hide_window = None
go_up = None
resize_up = None
next_tab = None
split_horiz = None
zoom_normal = <Primary><Shift>parenright
go_down = None
new_window = None
go_next = None
toggle_scrollbar = None
[profiles]
[[default]]
scrollbar_position = hidden
Expand All @@ -11,7 +42,7 @@
cursor_color = "#eee8d5"
foreground_color = "#eee8d5"
show_titlebar = False
font = Inconsolata Medium 18
font = Inconsolata Medium 14
background_color = "#002b36"
[layouts]
[[default]]
Expand Down
2 changes: 1 addition & 1 deletion .profile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ -d "$HOME/bin" ] ; then
for d in $directories
do
# Add the directory to the path if there are any executable files in it
binaries=`ls -lA $d | egrep '^[rwxs\-]*x[rwxs\-]* ' | egrep -v '\.so(.[0-9]+)*$'`
binaries=`ls -lA "$d/" | egrep '^[rwxs\-]*x[rwxs\-]* ' | egrep -v '\.so(.[0-9]+)*$'`
if [ -n "$binaries" ]
then
PATH="$d:$PATH"
Expand Down
6 changes: 5 additions & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ filetype indent on
filetype plugin on
filetype plugin indent on

" Reuse open tabs when switching buffers
set switchbuf=usetab,newtab

set cindent
set copyindent
set smartindent
Expand Down Expand Up @@ -62,4 +65,5 @@ nnoremap ; :
"nnoremap <silent><Leader><C-]> <C-w><C-]><C-w>T
nnoremap <f12> :!ctags -R --c-kinds=+degmnstvf --c++-kinds=+cdefgmnstuv --java-kinds=+cefgimp<cr>
nnoremap <f8> :!pdflatex "%"<cr>
nnoremap <f8> :!make<cr>
nnoremap <f7> :!pdflatex "%"<cr>

0 comments on commit 9295a1b

Please sign in to comment.