ACCC1380 commited on
Commit
42f1a91
1 Parent(s): 8e9b143

Upload .profile with huggingface_hub

Browse files
Files changed (1) hide show
  1. .profile +29 -6
.profile CHANGED
@@ -1,9 +1,32 @@
1
- # ~/.profile: executed by Bourne-compatible login shells.
 
 
 
 
2
 
3
- if [ "$BASH" ]; then
4
- if [ -f ~/.bashrc ]; then
5
- . ~/.bashrc
6
- fi
 
 
 
 
 
 
 
 
 
 
 
7
  fi
8
 
9
- mesg n 2> /dev/null || true
 
 
 
 
 
 
 
 
 
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
 
7
+ # the default umask is set in /etc/profile; for setting the umask
8
+ # for ssh logins, install and configure the libpam-umask package.
9
+ #umask 022
10
+
11
+ # if running bash
12
+ if [ -n "$BASH_VERSION" ]; then
13
+ # include .bashrc if it exists
14
+ if [ -f "$HOME/.bashrc" ]; then
15
+ . "$HOME/.bashrc"
16
+ fi
17
+ fi
18
+
19
+ # set PATH so it includes user's private bin if it exists
20
+ if [ -d "$HOME/bin" ] ; then
21
+ PATH="$HOME/bin:$PATH"
22
  fi
23
 
24
+ # set PATH so it includes user's private bin if it exists
25
+ if [ -d "$HOME/.local/bin" ] ; then
26
+ PATH="$HOME/.local/bin:$PATH"
27
+ fi
28
+
29
+ # set PATH so it includes commands for non-zsh shells
30
+ if [ -d "/commands" ] ; then
31
+ PATH="/commands:${PATH/\/commands/}"
32
+ fi