Compare commits
2 Commits
940b7b3efe
...
3afb8761d4
| Author | SHA1 | Date | |
|---|---|---|---|
| 3afb8761d4 | |||
| 993fa7eec3 |
1
.emacs
1
.emacs
@@ -660,6 +660,7 @@
|
||||
(concat "-imp." ext)
|
||||
(concat "-impl." ext)
|
||||
".cpp"
|
||||
".c"
|
||||
)))
|
||||
)
|
||||
(when (member ext '("c" "cc" "cpp"))
|
||||
|
||||
11
update.sh
11
update.sh
@@ -152,13 +152,18 @@ function load_gnome_terminal_profiles() {
|
||||
function install_fish() {
|
||||
echo "--- Ensuring fish is current shell"
|
||||
local fish_good=0
|
||||
if ! which fish 1>/dev/null
|
||||
then
|
||||
if ! which fish 1>/dev/null
|
||||
then
|
||||
fish_good=1
|
||||
fi
|
||||
|
||||
local current_version=$(fish --version | cut -d " " -f 3)
|
||||
if [ $(echo "${current_version}\n3.4.0" | sort | head -1) != "3.4.0" ]
|
||||
local current_version_test=$(cat <<EOF
|
||||
${current_version}
|
||||
3.4.0
|
||||
EOF
|
||||
)
|
||||
if [ $(echo "${current_version_test}" | sort -n | head -1) != "3.4.0" ]
|
||||
then
|
||||
echo "Wrong version of fish ${current_version}"
|
||||
fish_good=1
|
||||
|
||||
Reference in New Issue
Block a user