Comments (5)
Shouldn't that be .profile on OSX? Asking because on my OSX 10.9.5 desktop, .bashrc isn't sourced when terminals are started, though .profile is.
On Yosemite 10.10 it seems to be .bashrc , perhaps it could be related to bash version on both these platforms. I will find what works for both bash versions and see which fits here.
from minio.
No worries. It's also possible I've modified my desktop config from default and don't remember doing so. 😉
from minio.
No worries. It's also possible I've modified my desktop config from default and don't remember doing so.
I will verify, thanks for your inputs @justinclift
from minio.
I found the problem why this happens, snippet from bash documentation
6.2 Bash Startup Files
This section describes how Bash executes its startup files. If any of the files exist but cannot be read,
Bash reports an error. Tildes are expanded in filenames as described above under Tilde Expansion
(see Tilde Expansion).
Invoked as an interactive login shell, or with --login
When Bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option,
it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it
looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes
commands from the first one that exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.
When a login shell exits, Bash reads and executes commands from the file ~/.bash_logout, if it exists.
Invoked as an interactive non-login shell
When an interactive shell that is not a login shell is started, Bash reads and executes commands from
~/.bashrc, if that file exists. This may be inhibited by using the --norc option. The --rcfile file option will
force Bash to read and execute commands from file instead of ~/.bashrc.
So, typically, your ~/.bash_profile contains the line
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi after (or before) any login-specific initializations.
from minio.
Interesting. Guess it depends which is more useful for minio then. For me at the moment, doing stuff through a login shell, it's .profile. Not sure that's going to be the case for everyone else though. 😉
from minio.
Related Issues (20)
- jwt:groups condition values in IAM policies? HOT 4
- Internal error while force-deleting a bucket HOT 1
- Storage resources are insufficient for the write operation .minio.sys/buckets/.usage.json HOT 1
- Constant i/o operation on almost plain intallation (ARM64/OMV6) HOT 4
- how to set regeion as empty or default? HOT 3
- The file was deleted after reaching its lifecycle expiration, but the inode still remains. HOT 1
- Problem of 403 between minio and ngrok with signed Url "SignatureDoesNotMatch", how to solve it ? HOT 12
- invalid login to minio console behind haproxy HOT 6
- Incompatibility with S3 behavior when using the AWS CRT-based S3 java client for downloading empty files with `checksumValidation` disabled HOT 10
- [SNSD] Unexpected EOF when downloading File HOT 4
- Bug in postpolicyform.go signed uploads with POST request always fail with 403 error : must appear in the list of conditions. HOT 18
- panic: runtime error: index out of range [0] with length 0 expiring zero versions in ILM HOT 4
- Violation of Strict Consistency for HEAD-Object after DELETE-Object on buckets with Bucket Replication HOT 6
- Minio downloads files occasionally waiting for response HOT 2
- Error in parsing response date HOT 4
- Why does Minio not recommend using NFS ? HOT 6
- feat: Completing Multipart Uploads with Checksum That Contains Number of Parts Fails HOT 2
- Minio Upgrade from FileSystem Mode to ServerMode HOT 1
- MinIO mc CLI can't handle adding lifecycle policies concurrently HOT 2
- help me! minio invalid Login.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minio.