2024-04-13 19:06:22 +05:00
|
|
|
# ~/.profile: executed by the command interpreter for login shells.
|
|
|
|
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login exists.
|
|
|
|
# see /usr/share/doc/bash/examples/startup-files for examples.
|
|
|
|
# the files are located in the bash-doc package.
|
|
|
|
|
|
|
|
# if running bash
|
|
|
|
if [ -n "$BASH_VERSION" ]; then
|
2024-04-26 16:49:35 +05:00
|
|
|
# include .bashrc if it exists
|
|
|
|
if [ -f "$HOME/.bashrc" ]; then
|
|
|
|
. "$HOME/.bashrc"
|
|
|
|
fi
|
2024-04-13 19:06:22 +05:00
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/bin" ] ; then
|
2024-04-26 16:49:35 +05:00
|
|
|
PATH="$HOME/bin:$PATH"
|
2024-04-13 19:06:22 +05:00
|
|
|
fi
|
|
|
|
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
2024-04-26 16:49:35 +05:00
|
|
|
PATH="$HOME/.local/bin:$PATH"
|
2024-04-13 19:06:22 +05:00
|
|
|
fi
|
|
|
|
|
2024-04-16 17:34:03 +05:00
|
|
|
export GPG_TTY=$(tty)
|
2024-04-26 16:49:35 +05:00
|
|
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
|
|
|
|
|
|
|
# Flutter
|
|
|
|
export CHROME_EXECUTABLE="/usr/bin/chromium"
|
|
|
|
export FLUTTER_ROOT="$HOME/flutter/flutter"
|
|
|
|
if [ -d "$FLUTTER_ROOT/bin" ] ; then
|
|
|
|
PATH="$FLUTTER_ROOT/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
export EDITOR="nvim"
|
|
|
|
|
|
|
|
# Go
|
|
|
|
export GOPATH="$HOME/go"
|
|
|
|
if [ -d "$GOPATH/bin" ] ; then
|
|
|
|
PATH="$GOPATH/bin:$PATH"
|
|
|
|
fi
|
|
|
|
if [ -d "/usr/lib/go-1.22/bin" ] ; then
|
|
|
|
PATH="/usr/lib/go-1.22/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Rustup
|
|
|
|
if [ -d "$HOME/.cargo" ] ; then
|
|
|
|
. "$HOME/.cargo/env"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Firefox
|
|
|
|
export MOZ_ENABLE_WAYLAND=1
|
2024-05-27 11:55:49 +05:00
|
|
|
|
|
|
|
# Asdf - elixir, nodejs manager
|
|
|
|
if [ -d "$HOME/src/asdf" ] ; then
|
|
|
|
. "$HOME/src/asdf/asdf.sh"
|
|
|
|
fi
|