.profile 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  1. # ~/.profile: executed by the command interpreter for login shells.
  2. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
  3. # exists.
  4. # see /usr/share/doc/bash/examples/startup-files for examples.
  5. # the files are located in the bash-doc package.
  6. # the default umask is set in /etc/profile; for setting the umask
  7. # for ssh logins, install and configure the libpam-umask package.
  8. #umask 022
  9. man() {
  10. command man "$@" | eval ${MANPAGER}
  11. }
  12. ###############################################################################
  13. # EXPORTs
  14. ###############################################################################
  15. export HOME=$(echo /home/$USER)
  16. # # export LIBVA_DRIVERS_PATH="/usr/lib/xorg/modules/drivers"
  17. # # export LIBVA_DRIVER_NAME="vdpau"
  18. #export LIBVA_DRIVER_NAME="nvidia"
  19. # # export VDPAU_DRIVER="nvidia"
  20. export SXHKD_SHELL="/usr/bin/bash"
  21. # export GHCUP_INSTALL_BASE_PREFIX="$HOME/.config" # for GHCUP
  22. # export GOPATH="$HOME/go"
  23. # export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin:$HOME/.config/vifm/scripts:$HOME/Programs/AppImageApplications:$GHCUP_INSTALL_BASE_PREFIX/.ghcup/bin:$HOME/Programs/Android_SDK/platform-tools:$GOPATH/bin
  24. export EDITOR="vim" # vim is either a link to nvim or just vim
  25. export VISUAL="gvim" # gvim is either a link to nvim-qt or just gvim
  26. export TERM="xterm-256color"
  27. export TERMINAL="kitty"
  28. export BROWSER="brave"
  29. # export RANGER_LOAD_DEFAULT_RC=FALSE # to avoid loading ranger's config twice
  30. # # export BROWSER="qutebrowser"
  31. # #export EDITOR="emacs -nw"
  32. # # export QT_QPA_PLATFORMTHEME="qt5ct"
  33. # # export MANPAGER="sh -c 'col -bx | bat --theme gruvbox-dark -l man -p'" # $MANPAGER use batcat to read mans
  34. export PAGER="bat"
  35. export MANPAGER="sh -c 'col -bx | bat -l man -p'" # theme moved to the .config/bat/config
  36. # export MANPAGER="bat man -p" # theme moved to the .config/bat/config
  37. # export ANDROID_SDK="$HOME/Programs/Android_SDK"
  38. #
  39. # export XDG_CONFIG_HOME="$HOME/.config"
  40. # export XDG_DATA_HOME="$HOME/.local/share"
  41. # export XDG_DATA_DIRS="$HOME/.local/share/flatpak/exports/share"
  42. # export XDG_DATA_DIRS+=":/var/lib/flatpak/exports/share"
  43. # export XDG_DATA_DIRS+=":$HOME/.local/share/flatpak/exports/share/applications"
  44. # export XDG_DATA_DIRS+=":/var/lib/flatpak/exports/share/applications"
  45. # export XDG_CACHE_HOME="$HOME/.cache"
  46. #
  47. # # Icons for lf file manager
  48. # export LF_ICONS="\
  49. # fi=:\
  50. # di=:\
  51. # ln=:\
  52. # pi=|:\
  53. # so=ﯲ:\
  54. # db=:\
  55. # cd=c:\
  56. # or=:\
  57. # su=:\
  58. # sg=:\
  59. # tw=:\
  60. # ow=w:\
  61. # st=:\
  62. # ex=:\
  63. # *.7z=:\
  64. # *.a=:\
  65. # *.aac=:\
  66. # *.ace=:\
  67. # *.ai=:\
  68. # *.alz=:\
  69. # *.apk=:\
  70. # *.arc=:\
  71. # *.arj=:\
  72. # *.asf=:\
  73. # *.asm=:\
  74. # *.asp=:\
  75. # *.au=:\
  76. # *.aup=:\
  77. # *.avi=:\
  78. # *.avi=:\
  79. # *.awk=:\
  80. # *.bash=:\
  81. # *.bat=:\
  82. # *.bmp=:\
  83. # *.bz2=:\
  84. # *.bz=:\
  85. # *.c++=:\
  86. # *.c=:\
  87. # *.cab=:\
  88. # *.cbr=:\
  89. # *.cbz=:\
  90. # *.cc=:\
  91. # *.cgm=:\
  92. # *.class=:\
  93. # *.clj=:\
  94. # *.cljc=:\
  95. # *.cljs=:\
  96. # *.cmake=:\
  97. # *.cmd=:\
  98. # *.coffee=:\
  99. # *.conf=:\
  100. # *.cp=:\
  101. # *.cpio=:\
  102. # *.cpp=:\
  103. # *.cs=:\
  104. # *.css=:\
  105. # *.cue=:\
  106. # *.csh=:\
  107. # *.cvs=:\
  108. # *.cxx=:\
  109. # *.d=:\
  110. # *.dart=:\
  111. # *.db=:\
  112. # *.deb=:\
  113. # *.diff=:\
  114. # *.dl=:\
  115. # *.dll=:\
  116. # *.doc=:\
  117. # *.docx=:\
  118. # *.dump=:\
  119. # *.dwm=:\
  120. # *.dz=:\
  121. # *.ear=:\
  122. # *.edn=:\
  123. # *.eex=:\
  124. # *.efi=:\
  125. # *.ejs=:\
  126. # *.elf=:\
  127. # *.elm=:\
  128. # *.emf=:\
  129. # *.epub=:\
  130. # *.erl=:\
  131. # *.esd=:\
  132. # *.ex=:\
  133. # *.exe=:\
  134. # *.exs=:\
  135. # *.f#=:\
  136. # *.fifo=|:\
  137. # *.fish=:\
  138. # *.flac=:\
  139. # *.flc=:\
  140. # *.fli=:\
  141. # *.flv=:\
  142. # *.flv=:\
  143. # *.fs=:\
  144. # *.fsi=:\
  145. # *.fsscript=:\
  146. # *.fsx=:\
  147. # *.gem=:\
  148. # *.gif=:\
  149. # *.git=:\
  150. # *.gl=:\
  151. # *.go=:\
  152. # *.gz=:\
  153. # *.gzip=:\
  154. # *.h=:\
  155. # *.hbs=:\
  156. # *.hh=:\
  157. # *.hpp=:\
  158. # *.hrl=:\
  159. # *.hs=:\
  160. # *.htaccess=:\
  161. # *.htm=:\
  162. # *.html=:\
  163. # *.htpasswd=:\
  164. # *.ico=:\
  165. # *.img=:\
  166. # *.ini=:\
  167. # *.iso=:\
  168. # *.jar=:\
  169. # *.java=:\
  170. # *.jl=:\
  171. # *.jpeg=:\
  172. # *.jpg=:\
  173. # *.js=:\
  174. # *.json=:\
  175. # *.jsx=:\
  176. # *.key=:\
  177. # *.ksh=:\
  178. # *.less=:\
  179. # *.lha=:\
  180. # *.lhs=:\
  181. # *.log=:\
  182. # *.lrz=:\
  183. # *.lua=:\
  184. # *.lz4=:\
  185. # *.lz=:\
  186. # *.lzh=:\
  187. # *.lzma=:\
  188. # *.lzo=:\
  189. # *.m2v=:\
  190. # *.m4a=:\
  191. # *.m4v=:\
  192. # *.markdown=:\
  193. # *.md=:\
  194. # *.mid=:\
  195. # *.midi=:\
  196. # *.mjpeg=:\
  197. # *.mjpg=:\
  198. # *.mka=:\
  199. # *.mkv=:\
  200. # *.ml=λ:\
  201. # *.mli=λ:\
  202. # *.mng=:\
  203. # *.mov=:\
  204. # *.mp3=:\
  205. # *.mp4=:\
  206. # *.mp4v=:\
  207. # *.mpc=:\
  208. # *.mpeg=:\
  209. # *.mpg=:\
  210. # *.msi=:\
  211. # *.mustache=:\
  212. # *.nix=:\
  213. # *.nuv=:\
  214. # *.o=:\
  215. # *.oga=:\
  216. # *.ogg=:\
  217. # *.ogm=:\
  218. # *.ogv=:\
  219. # *.ogx=:\
  220. # *.opus=:\
  221. # *.pbm=:\
  222. # *.pcx=:\
  223. # *.pdf=:\
  224. # *.pgm=:\
  225. # *.php=:\
  226. # *.pl=:\
  227. # *.pm=:\
  228. # *.png=:\
  229. # *.ppk=:\
  230. # *.ppm=:\
  231. # *.ppt=:\
  232. # *.pptx=:\
  233. # *.pro=:\
  234. # *.ps1=:\
  235. # *.psb=:\
  236. # *.psd=:\
  237. # *.pub=:\
  238. # *.py=:\
  239. # *.pyc=:\
  240. # *.pyd=:\
  241. # *.pyo=:\
  242. # *.qt=:\
  243. # *.ra=:\
  244. # *.rar=:\
  245. # *.rb=:\
  246. # *.rc=:\
  247. # *.rlib=:\
  248. # *.rm=:\
  249. # *.rmvb=:\
  250. # *.rom=:\
  251. # *.rpm=:\
  252. # *.rs=:\
  253. # *.rss=:\
  254. # *.rtf=:\
  255. # *.rz=:\
  256. # *.s=:\
  257. # *.sar=:\
  258. # *.scala=:\
  259. # *.scss=:\
  260. # *.sh=:\
  261. # *.slim=:\
  262. # *.sln=:\
  263. # *.so=:\
  264. # *.spx=:\
  265. # *.sql=:\
  266. # *.styl=:\
  267. # *.suo=:\
  268. # *.svg=:\
  269. # *.svgz=:\
  270. # *.swm=:\
  271. # *.t7z=:\
  272. # *.t=:\
  273. # *.tar=:\
  274. # *.taz=:\
  275. # *.tbz2=:\
  276. # *.tbz=:\
  277. # *.tga=:\
  278. # *.tgz=:\
  279. # *.tif=:\
  280. # *.tiff=:\
  281. # *.tlz=:\
  282. # *.ts=:\
  283. # *.twig=:\
  284. # *.txz=:\
  285. # *.tz=:\
  286. # *.tzo=:\
  287. # *.tzst=:\
  288. # *.vim=:\
  289. # *.vimrc=:\
  290. # *.vob=:\
  291. # *.war=:\
  292. # *.wav=:\
  293. # *.wav=:\
  294. # *.webm=:\
  295. # *.wim=:\
  296. # *.wmv=:\
  297. # *.xbm=:\
  298. # *.xbps=:\
  299. # *.xcf=:\
  300. # *.xhtml=:\
  301. # *.xls=:\
  302. # *.xlsx=:\
  303. # *.xml=:\
  304. # *.xpm=:\
  305. # *.xspf=:\
  306. # *.xul=:\
  307. # *.xwd=:\
  308. # *.xz=:\
  309. # *.yaml=:\
  310. # *.yml=:\
  311. # *.yuv=:\
  312. # *.z=:\
  313. # *.zip=:\
  314. # *.zoo=:\
  315. # *.zsh=:\
  316. # *.zst=:\
  317. # *.src=:\
  318. # *.ebuild=:\
  319. # "
  320. #
  321. # # export LF_ICONS="\
  322. # # tw=:\
  323. # # st=:\
  324. # # ow=:\
  325. # # dt=:\
  326. # # di=:\
  327. # # fi=:\
  328. # # ln=:\
  329. # # or=:\
  330. # # *.7z=:\
  331. # # *.a=:\
  332. # # *.ai=:\
  333. # # *.apk=:\
  334. # # *.asm=:\
  335. # # *.asp=:\
  336. # # *.aup=:\
  337. # # *.avi=:\
  338. # # *.awk=:\
  339. # # *.bash=:\
  340. # # *.bat=:\
  341. # # *.bmp=:\
  342. # # *.bz2=:\
  343. # # *.c=:\
  344. # # *.c++=:\
  345. # # *.cab=:\
  346. # # *.cbr=:\
  347. # # *.cbz=:\
  348. # # *.cc=:\
  349. # # *.class=:\
  350. # # *.clj=:\
  351. # # *.cljc=:\
  352. # # *.cljs=:\
  353. # # *.cmake=:\
  354. # # *.coffee=:\
  355. # # *.conf=:\
  356. # # *.cp=:\
  357. # # *.cpio=:\
  358. # # *.cpp=:\
  359. # # *.cs=:\
  360. # # *.csh=:\
  361. # # *.css=:\
  362. # # *.cue=:\
  363. # # *.cvs=:\
  364. # # *.cxx=:\
  365. # # *.d=:\
  366. # # *.dart=:\
  367. # # *.db=:\
  368. # # *.deb=:\
  369. # # *.diff=:\
  370. # # *.dll=:\
  371. # # *.doc=:\
  372. # # *.docx=:\
  373. # # *.dump=:\
  374. # # *.edn=:\
  375. # # *.eex=:\
  376. # # *.efi=:\
  377. # # *.ejs=:\
  378. # # *.elf=:\
  379. # # *.elm=:\
  380. # # *.epub=:\
  381. # # *.erl=:\
  382. # # *.ex=:\
  383. # # *.exe=:\
  384. # # *.exs=:\
  385. # # *.f#=:\
  386. # # *.fifo=|
  387. # # *.fish=:\
  388. # # *.flac=:\
  389. # # *.flv=:\
  390. # # *.fs=:\
  391. # # *.fsi=:\
  392. # # *.fsscript=:\
  393. # # *.fsx=:\
  394. # # *.gem=:\
  395. # # *.gemspec=:\
  396. # # *.gif=:\
  397. # # .git=:\
  398. # # *.go=:\
  399. # # *.gz=:\
  400. # # *.gzip=:\
  401. # # *.h=:\
  402. # # *.haml=:\
  403. # # *.hbs=:\
  404. # # *.hh=:\
  405. # # *.hpp=:\
  406. # # *.hrl=:\
  407. # # *.hs=:\
  408. # # *.htaccess=:\
  409. # # *.htm=:\
  410. # # *.html=:\
  411. # # *.htpasswd=:\
  412. # # *.hxx=:\
  413. # # *.ico=:\
  414. # # *.img=:\
  415. # # *.ini=:\
  416. # # *.iso=:\
  417. # # *.jar=:\
  418. # # *.java=:\
  419. # # *.jl=:\
  420. # # *.jpeg=:\
  421. # # *.jpg=:\
  422. # # *.js=:\
  423. # # *.json=:\
  424. # # *.jsx=:\
  425. # # *.key=:\
  426. # # *.ksh=:\
  427. # # *.leex=:\
  428. # # *.less=:\
  429. # # *.lha=:\
  430. # # *.lhs=:\
  431. # # *.log=:\
  432. # # *.lua=:\
  433. # # *.lzh=:\
  434. # # *.lzma=:\
  435. # # *.m4a=:\
  436. # # *.m4v=:\
  437. # # *.markdown=:\
  438. # # *.md=:\
  439. # # *.mdx=:\
  440. # # *.mjs=:\
  441. # # *.mkv=:\
  442. # # *.ml=λ:\
  443. # # *.mli=λ:\
  444. # # *.mov=:\
  445. # # *.mp3=:\
  446. # # *.mp4=:\
  447. # # *.mpeg=:\
  448. # # *.mpg=:\
  449. # # *.msi=:\
  450. # # *.mustache=:\
  451. # # *.nix=:\
  452. # # *.o=:\
  453. # # *.ogg=:\
  454. # # *.pdf=:\
  455. # # *.php=:\
  456. # # *.pl=:\
  457. # # *.pm=:\
  458. # # *.png=:\
  459. # # *.pp=:\
  460. # # *.ppt=:\
  461. # # *.pptx=:\
  462. # # *.ps1=:\
  463. # # *.psb=:\
  464. # # *.psd=:\
  465. # # *.pub=:\
  466. # # *.py=:\
  467. # # *.pyc=:\
  468. # # *.pyd=:\
  469. # # *.pyo=:\
  470. # # *.r=ﳒ:\
  471. # # *.rake=:\
  472. # # *.rar=:\
  473. # # *.rb=:\
  474. # # *.rc=:\
  475. # # *.rlib=:\
  476. # # *.rmd=:\
  477. # # *.rom=:\
  478. # # *.rpm=:\
  479. # # *.rproj=鉶:\
  480. # # *.rs=:\
  481. # # *.rss=:\
  482. # # *.rtf=:\
  483. # # *.s=:\
  484. # # *.sass=:\
  485. # # *.scala=:\
  486. # # *.scss=:\
  487. # # *.sh=:\
  488. # # *.slim=:\
  489. # # *.sln=:\
  490. # # *.so=:\
  491. # # *.sql=:\
  492. # # *.styl=:\
  493. # # *.suo=:\
  494. # # *.swift=:\
  495. # # *.t=:\
  496. # # *.tar=:\
  497. # # *.tex=ﭨ:\
  498. # # *.tgz=:\
  499. # # *.toml=:\
  500. # # *.ts=:\
  501. # # *.tsx=:\
  502. # # *.twig=:\
  503. # # *.vim=:\
  504. # # *.vimrc=:\
  505. # # *.vue=﵂:\
  506. # # *.wav=:\
  507. # # *.webm=:\
  508. # # *.webmanifest=:\
  509. # # *.webp=:\
  510. # # *.xbps=:\
  511. # # *.xcplayground=:\
  512. # # *.xhtml=:\
  513. # # *.xls=:\
  514. # # *.xlsx=:\
  515. # # *.xml=:\
  516. # # *.xul=:\
  517. # # *.xz=:\
  518. # # *.yaml=:\
  519. # # *.yml=:\
  520. # # *.zip=:\
  521. # # *.zsh=:\
  522. # # "
  523. #