let SessionLoad = 1 if &cp | set nocp | endif let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0 let v:this_session=expand(":p") silent only cd ~/42/minishell if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == '' let s:wipebuf = bufnr('%') endif set shortmess=aoO badd +1 src/main.c badd +22 src/builtin.c badd +5 src/builtin_cd.c badd +10 src/builtin_echo.c badd +12 src/ft_cmd.c badd +13 includes/minishell.h badd +23 src/lib_path.c badd +9 Makefile badd +6 src/builtin_setenv.c badd +4 src/builtin_unsetenv.c badd +3 src/lib_env.c badd +5 src/builtin_env.c badd +4 src/builtin_exit.c badd +0 src/lib_expansion.c argglobal silent! argdel * argadd src/main.c set stal=2 edit includes/minishell.h set splitbelow splitright wincmd _ | wincmd | vsplit 1wincmd h wincmd w set nosplitbelow set nosplitright wincmd t set winheight=1 winwidth=1 exe 'vert 1resize ' . ((&columns * 79 + 79) / 158) exe 'vert 2resize ' . ((&columns * 78 + 79) / 158) argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 27 - ((25 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 27 normal! 049| lcd ~/42/minishell wincmd w argglobal edit ~/42/minishell/src/main.c setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 12 - ((10 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 12 normal! 023| lcd ~/42/minishell wincmd w exe 'vert 1resize ' . ((&columns * 79 + 79) / 158) exe 'vert 2resize ' . ((&columns * 78 + 79) / 158) tabedit ~/42/minishell/src/ft_cmd.c set splitbelow splitright wincmd _ | wincmd | vsplit 1wincmd h wincmd w set nosplitbelow set nosplitright wincmd t set winheight=1 winwidth=1 exe 'vert 1resize ' . ((&columns * 78 + 79) / 158) exe 'vert 2resize ' . ((&columns * 79 + 79) / 158) argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 31 - ((12 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 31 normal! 0 lcd ~/42/minishell wincmd w argglobal edit ~/42/minishell/src/lib_expansion.c setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 6 - ((5 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 6 normal! 0 lcd ~/42/minishell wincmd w exe 'vert 1resize ' . ((&columns * 78 + 79) / 158) exe 'vert 2resize ' . ((&columns * 79 + 79) / 158) tabedit ~/42/minishell/src/builtin.c set splitbelow splitright wincmd _ | wincmd | vsplit 1wincmd h wincmd w set nosplitbelow set nosplitright wincmd t set winheight=1 winwidth=1 exe 'vert 1resize ' . ((&columns * 78 + 79) / 158) exe 'vert 2resize ' . ((&columns * 79 + 79) / 158) argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 20 - ((19 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 20 normal! 032| lcd ~/42/minishell wincmd w argglobal edit ~/42/minishell/src/builtin_exit.c setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 8 - ((7 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 8 normal! 014| lcd ~/42/minishell wincmd w 2wincmd w exe 'vert 1resize ' . ((&columns * 78 + 79) / 158) exe 'vert 2resize ' . ((&columns * 79 + 79) / 158) tabedit ~/42/minishell/src/lib_env.c set splitbelow splitright set nosplitbelow set nosplitright wincmd t set winheight=1 winwidth=1 argglobal setlocal fdm=manual setlocal fde=0 setlocal fmr={{{,}}} setlocal fdi=# setlocal fdl=0 setlocal fml=1 setlocal fdn=20 setlocal fen silent! normal! zE let s:l = 4 - ((3 * winheight(0) + 19) / 38) if s:l < 1 | let s:l = 1 | endif exe s:l normal! zt 4 normal! 0 lcd ~/42/minishell tabnext 3 set stal=1 if exists('s:wipebuf') silent exe 'bwipe ' . s:wipebuf endif unlet! s:wipebuf set winheight=1 winwidth=20 shortmess=filnxtToOc let s:sx = expand(":p:r")."x.vim" if file_readable(s:sx) exe "source " . fnameescape(s:sx) endif let &so = s:so_save | let &siso = s:siso_save let g:this_session = v:this_session let g:this_obsession = v:this_session let g:this_obsession_status = 2 doautoall SessionLoadPost unlet SessionLoad " vim: set ft=vim :